HOW DO I ACCESS A WORD DOCUMENT FROM AN ACCESS PAGE?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to set up a command button on my switchboard (in access), that will go
to a word document. How do I do this?
 
Use something like this in the button's Click event procedure:

Application.FollowHyperlink "C:\Folder\My document.doc"
 
John said:
Use something like this in the button's Click event procedure:

Application.FollowHyperlink "C:\Folder\My document.doc"

Since it's a Switchboard button, it's probably more straightforward to
do this:

- Set up a Macro, [M_MyDoc], defined to contain a RunApp command with
a CommandLine value of "winword c:\Folder\MyDocument.doc"

- In Switchboard Manager, select the desired Switchboard and click on
"New"

- Set the following properties for the new button:
Text: Open my Word document
Command: Run Macro
Macro: M_MyDoc


-- Vincent Johns <[email protected]>
Please feel free to quote anything I say here.
 
Back
Top