Solved

MS Word hyperlink equivalent of a back button

Posted on 2001-07-11
8
248 Views
Last Modified: 2008-03-04
How can I make a hyperlink in Word that acts as a "back" button?

I occasionally make MS Word documents with internal hyperlinks so that the reader can jump from topic to topic within the document.

I know that a toolbar appears with a back button when using hyperlinks, but I'd like to put that functionality directly in the document, where it won't be lost in the toolbar clutter.
0
Comment
Question by:sherrod
  • 3
  • 2
8 Comments
 
LVL 13

Expert Comment

by:cri
ID: 6273346
Tough one:
- Shift+F11 hardly will be ever remembered

- Plastering the document with ControlToolbox buttons with this code hardly hardly is a solution too...

Private Sub CommandButton1_Click()
  Application.GoBack
End Sub

Wait for Dreamboat.
0
 

Expert Comment

by:Madde
ID: 6273399
Cri:
I think it is Shift+F5 that takes you to the previous location :-)
0
 
LVL 13

Expert Comment

by:cri
ID: 6274562
Madde, AFAIK Shift+F5 is the previous location at last save, i.e. to continue editing the next day(s). This one is for jumping around with hyperlinks.

sherrod, pershaps a Macrorun field is simpler and less obstrusive than afore mentioned buttons.

Dreamboat !?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Expert Comment

by:Madde
ID: 6274667
Cri, it's not a big deal but F11 will get you to the nearest previous field, and hyperlinks are fields, so you would have to jump one field at a time, whereas F5 takes you to the last LOCATION as does the Web "Back" button. However, I agree that users will most probably not remember.
0
 
LVL 13

Accepted Solution

by:
cri earned 100 total points
ID: 6275763
Madde, you are correct (and I am too about not remembering...) This is what you get if you test it with a chain of 3 hyperlinks...
0
 

Author Comment

by:sherrod
ID: 6309529
I tried all the above, but couldn't quite get what I was looking for. I tried recording the back button click on a toolbar, but Word wouldn't record that in a macro.

I finally solved it by creating the following macro:

  Sub BackToWhenceYouCame()
    On Error GoTo skip
    CommandBars("Web").Controls("Back").Execute
    skip:
  End Sub

I was able to add MacroButtons calling this macro (Using the Field option on the Insert menu) wherever I wanted the reader to be able to jump back to the previous position.

The question is solved now, but I'm not sure who to award the points to. I guess "cri" for making me think of using macros. Thank you, everyone.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to use shortcut menus in the Access run-time environment.
Outlook Free & Paid Tools
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now