Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi guys
- I am attempting to load a pdf using the following code: iStatus = Shell(sDirAndFilePath, vbMaximizedFocus) - I'm using an API call that successfully returns the Acrobat installation directory on different computers. - On one computer, sDirAndFilePath="C:\Program Files\Adobe\Acrobat 5.0\ Acrobat\Acrobat.exe C:\test.pdf" and this works fine. - On another computer, sDirAndFilePath="C:\Program Files\Adobe\Acrobat 4.0\ Acrobat\Acrobat.exe C:\test.pdf" but this returns an error in Acrobat "File not found", even though no error is detected in VB. - On the surace, it appears to be a version issue with Acrobat 4.0, but I don't know how feasible this is. Does a PDF loaded with v4 require different syntax to later versions of Acrobat? Any suggestions are appreciated. Thanks in advance. Paul Martin Melbourne, Australia |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Running Shell | Excel Discussion (Misc queries) | |||
Is it possible to Shell and remove Excel from memory? | Excel Discussion (Misc queries) | |||
Controling Acrobat PDFs | Excel Discussion (Misc queries) | |||
Relative Hyperlinks to PDFs (or other documents) | Excel Discussion (Misc queries) | |||
use shell function in vbscript | Excel Programming |