Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load external pdf file

Status
Not open for further replies.

avayaman

Technical User
Nov 6, 2002
841
CA
Hi simple questtion. I have database & a pdf with the instructions on how to use it. how do I load the PDF using a button on the switcboard. VB code.

IE load C:\directory\instructions.pdf

Paul Beddows

Consulting, Avaya/EAS implementation, Training
Vancouver, Canada
E-mail paul at natcoa.com
 
You may try this (VBA code]
Code:
Application.FollowHyperlink "C:\directory\instructions.pdf"

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks PHV, I actually managed to figure that one out for myself last night. Oddly enough I have to leave the application out for it to work. The Hyperlink method is good, because I cango have it load off our server on error if the user does not have it in the correct directory.

Paul Beddows

Consulting, Avaya/EAS implementation, Training
Vancouver, Canada
E-mail paul at natcoa.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top