Passing filename to Shell

aziz rasul

Active member
Local time
Today, 16:25
Joined
Jun 26, 2000
Messages
1,935
How would I change the code below if I created a function where I had to pass the value of C:\Test.pdf?

Code:
varShell = Shell("C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe /A page=3 ""C:\Test.pdf""", vbNormalFocus)
 
The response by HansUp here may be helpful.
 

Users who are viewing this thread

Back
Top Bottom