G Guest Oct 7, 2005 #1 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?
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?
J John Nurick Oct 7, 2005 #2 Use something like this in the button's Click event procedure: Application.FollowHyperlink "C:\Folder\My document.doc"
Use something like this in the button's Click event procedure: Application.FollowHyperlink "C:\Folder\My document.doc"
V Vincent Johns Oct 10, 2005 #3 John said: Use something like this in the button's Click event procedure: Application.FollowHyperlink "C:\Folder\My document.doc" Click to expand... 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.
John said: Use something like this in the button's Click event procedure: Application.FollowHyperlink "C:\Folder\My document.doc" Click to expand... 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.