Can someone give me an example of using Autokeys to capture a function key and have that function key open a Word document?
I have found a number of references to opening word from access, and references to autokeys, but never any of the two combined.
I have the following code in my application
Which opens a specific document, then opens the MS Access help application.
I want to stop the MS Access help file from opening. I am guessing that the [blue]Application.FollowHyperlink[/blue] is not capturing the F1, but just being activated by it.
I have tried to use AutoKeys to RunCode and point to a
But that doesn't work. The Autokeys won't find the fuction.
I have put the Sub ShowCustomHelp() in it's own module, and made sure MS word 9.0 was checked in References.
I can't figure out how to get the F1 to open a word document from Autokeys. Any input would be appreciated.
I have found a number of references to opening word from access, and references to autokeys, but never any of the two combined.
I have the following code in my application
Code:
If KeyCode = vbKeyF1 Then Application.FollowHyperlink "Y:\Databases\Instructions.doc", , True
Which opens a specific document, then opens the MS Access help application.
I want to stop the MS Access help file from opening. I am guessing that the [blue]Application.FollowHyperlink[/blue] is not capturing the F1, but just being activated by it.
I have tried to use AutoKeys to RunCode and point to a
Code:
Public Sub ShowCustomHelp()
...
End Sub
I have put the Sub ShowCustomHelp() in it's own module, and made sure MS word 9.0 was checked in References.
I can't figure out how to get the F1 to open a word document from Autokeys. Any input would be appreciated.