How to Open A File with Visual Basic

L

Lance

I am trying to write a command for a command button in
Excel (on click). When I got to the visual basic editor
what is the syntax for opening a file such
as "C:\Reports\Reports.pdf. Thank you
 
T

Trevor Shuttleworth

Lance

something like:

Shell "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe
C:\WRATBlue[1].pdf"

Regards

Trevor
 

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

Top