My guess would be:
RetVal = Shell("PhotoResize400.exe -n -q100 -o """ & strDest & """ """ & strFileName & """", vbHide)
Resize with VBA
Shell command
Thanks very much for your previous help.
I am back with a further question. The code provided on my previous question works perfectly on the command line (Run command), but I want to go one step further and use it in VBA (Access 2007). I currently have the following line in the code, but it does not work.
RetVal = Shell("PhotoResize400.exe - n - q100 - o & """ & strDest & """ & """ & strFileName & """", vbHide)
WHERE strDest is the full path to the destination with "-c" added in front
AND strFileName the full path and filename of the file to be resized.
I know this is asking a lot, but could you help with this as well?
Thanks a million.