Solved

MS Word hyperlink equivalent of a back button

Posted on 2001-07-11
8
246 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Some time ago I was asked to create a VBA function that would calculate a check digit for an input number, using the following procedure: First, sum up all the individual digits in the number If that sum value has more than one digit, then sum up …
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
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 use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

759 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