open another application from access

  • Thread starter Thread starter tracey
  • Start date Start date
T

tracey

I created a from with a common dialog control. How can I
navigate to a file and open it? Example: I need to open a
file and it has an extetion of ".xls". When I select it,
then the file would open in excel, likewise for any other
file types, ".doc" opens in word, ".pdf" opens in acrobat
and so on.
 
In VBA try
Application.FollowHyperlink ("<Document Path Here>")
 

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