Code for the Back Function (Alt + Left)
You should be able to run the following macro:
Sub RunTheGoBackCommand()
On Error Resume Next
Application.Run "WebGoBack"
End Sub
The macro executes the built-in "WebGoBack" command (which is assigned to
the Alt+Left shortcut by default).
--
Stefan Blom
Microsoft Word MVP
"mm831" wrote in message
...
Hello,
I was wondering if there was code I can use that will mimic the Back
(Alt + Left) function.
I'm creating a big document that has hyperlinks to other parts of the
document. I'd like to create a macro where the user can click the "Back"
text and it will mimic Alt+Left.
I tried recording the macro but it doesn't register that keystroke.
I'd rather have a macro then prompt all the users that may access the
document to add the Back function to the QAT.
Thanks so much.
--
mm831
|