G
Guest
I have had some great help on my earlier question on the subject of opening an external application file using VBA. I am now faced with a new problem and would appreciate some help.
When I run Shell "MyComputer\Myfolder\AcroRd32.exe C:\Myfile.pdf" it works fine.
When I assign say Selectfile="C:\Myfile.pdf" and run Shell "MyComputer\Myfolder\AcroRd32.exe Selectfile", an error message is displayed by Acrobat - "There was an error opening this document. The file does not exist.
When I run Shell "MyComputer\Myfolder\AcroRd32.exe C:\Myfile.pdf" it works fine.
When I assign say Selectfile="C:\Myfile.pdf" and run Shell "MyComputer\Myfolder\AcroRd32.exe Selectfile", an error message is displayed by Acrobat - "There was an error opening this document. The file does not exist.