How to Open A File with Visual Basic

  • Thread starter Thread starter Lance
  • Start date Start date
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
 
Lance

something like:

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

Regards

Trevor
 
Back
Top