Open any document type from Access 2K2

  • Thread starter Thread starter lukebe
  • Start date Start date
L

lukebe

My databases can contain attachments such as PDF, doc, xls, jpg. At
the moment I just open these within Internet Explorer but I would
really prefer to open them in the associated application directly.
I could have a big IF block to create an instance of the application
with VBA but surely there is a better way.
I'm comfortable with API calls, etc so any method is appreciated.

Thankyou,
Luke
 
To launch any document from ms-access, simply go:

application.FollowHyperlink "path name to document"
 

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