Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MS Word hyperlink equivalent of a back button

Posted on 2001-07-11
8
Medium Priority
?
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

670 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