I am having problems using the Shell command to run winword.exe with a filename as an argument. If the filename has spaces in it Word cannot find it. Is there a way around this? I have tried using quotes around the filename with no success.
eg. RetVal = Shell("winword.exe c:\My Documents\test.doc",1)
eg. RetVal = Shell("winword.exe c:\My Documents\test.doc",1)