Help with Shell to Acrobat Reader

  • Thread starter Thread starter Jimbo
  • Start date Start date
J

Jimbo

I wish to shell to adobe acrobat from within excel and because the workbook
may be on different standalone workstations I would like to use a variable
to store the program and location associated with .pdf files

I'm stumped ... please help

Regards and TIA
 
Try something like:


Sub Macro1()
x = Shell("cmd.exe /c C:\Userguide.pdf", 1)
End Sub


Note that by shelling to cmd.exe you don't need to open the application
directly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top