Need command button to open word document

  • Thread starter Thread starter Scott
  • Start date Start date
S

Scott

I'm trying to create a command button in a form that will open a Microsoft
word Document. I see were I can make it open a .exe or .bat , but not a
..doc.

Any help would be great.

Thanks
 
The code behind the buttion can be:

application.FollowHyperlink "c:\mystuff\test.doc"
 

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