azizrasul

Well-known Member
Joined
Jul 7, 2003
Messages
1,197
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)
 

Some videos you may like

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Watch MrExcel Video

Forum statistics

Threads
1,108,655
Messages
5,524,124
Members
409,561
Latest member
ay123

This Week's Hot Topics

Top