Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MS Word hyperlink equivalent of a back button

Posted on 2001-07-11
8
Medium Priority
?
268 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 400 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

963 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