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]
 
Back
Top