Solved

MS Word hyperlink equivalent of a back button

Posted on 2001-07-11
8
252 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
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:
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

830 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