Reply
 
Thread Tools Display Modes
  #1   Report Post  
mm831 mm831 is offline
Junior Member
 
Posts: 0
Default Code for the Back Function (Alt + Left)

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.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default 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


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get the overstrike field code (Eq \o) to function? WillyDee Microsoft Word Help 4 December 31st 07 04:20 PM
How do I activate synonyms function (left click word...)? acottingham Microsoft Word Help 1 October 4th 07 06:13 AM
How do I get back the function that deletes text by highlighting? Patti Microsoft Word Help 3 August 24th 07 07:11 AM
How do I get back the 'Select all occurences of style' function? gregor Microsoft Word Help 3 April 25th 06 08:27 AM
Function from right to left Adrianne Waldt Page Layout 1 January 8th 05 06:58 AM


All times are GMT +1. The time now is 11:08 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"