Command Button

  • Thread starter Thread starter Guest
  • Start date Start date
Do a lookup in the Microsoft Knowledgebase on "Automation". There are a
number of good articles that explain what you need to do
 
How would I create a command button to open a word doc. when selected?

Do you know the name of the Word document?

Application.FollowHyperlink "c:\FolderName\SomeDocName.doc"

If the name of the document is in a form control:

Application.FollowHyperlink "c:\FolderName\" & [ControlName]
 

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