command button to preview an outside report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to create a command button on a form that can pull up .pdf
document? If so, does anyone know the code b/c I cannot find it in Microsoft
Help.
 
Just use:

application.FollowHyperlink "name of file"

eg:

application.FollowHyperlink "c:\my documents\test.doc"


application.FollowHyperlink "c:\my documents\test.pdf"


You can launch/open/display any file using the above syntax....
 
Back
Top