I’m trying to use the Shell command to open a pdf file on my c drive. This is what I’m using.
Dim retVal
retVal = Shell(“C:Program FilesAdobeAcrobat 4.0ReaderAcroRd32.exe””C:Program FilesFirstClassDownloadRAD.pdf”)
I’m getting a message “There was an error opening this document”.
The message isn’t always the same. The .exe by itself opens fine. It’s when I add the file that it errors out. Anyone tell me how I can open a .pdf file from Access.
Thanks
Paul