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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open unknown document/file type from Access VBA 1

Status
Not open for further replies.

paullem

Programmer
Jan 21, 2005
80
GB
Hi, Does anyone have any useful code snippets that allows an unknown document type to be opended automatically from VBA?

I have setup an Access help database that allows the path to a supporting document to be entered. The document can be a text, word, excel or pdf document etc. I want the user to be able to click the command button and for VBA to figure out the document type and open the document with the required program.

Many thanks for any help.
 
Look for
Code:
Application.FollowHyperlink.....
in the vba

________________________________________________________
Zameer Abdulla
Help to find Missing people
 
paullem,
Don't forget to search the FAQ's...

faq705-1971

CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top