How to I create a clickable button that returns the user to last point

John Lindstrom 20 Reputation points
2025-11-10T18:52:43.28+00:00

Word 365. I am linking from one word (e.g., Requirements) to a bookmarked entry in the Table of Contents where the word is defined. The link from Requirements to the bookmark works fine. I can then type Alt-left arrow to return to the word Requirements. But I want to insert a small button (or at least clickable text) that returns the reader from the Table of Contents entry to the originating word without having to type Alt-left arrow or to add the "back" menu item to the menu bar. I can't figure out the correct way to use the Developer tools to accomplish this.

Microsoft 365 and Office | Word | For business | Windows
{count} votes

Answer accepted by question author
  1. Charles Kenyon 158.8K Reputation points Volunteer Moderator
    2025-11-10T20:50:09.2566667+00:00

    You could add pop-up text by your entry telling the user to use Alt+Left Arrow to go back.

    https://addbalance.com/articles/Pop-Up%20Text%20in%20Microsoft%20Word.htmThis requires no macros in the document. An ActiveX button requires a macro-enabled document or template.

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-10T18:52:59.6833333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To create a clickable button in Word that returns the user to the last point, you can use a macro. Here’s how to do it:

    1. Enable the Developer Tab: If you haven't already, enable the Developer tab in Word by going to File > Options > Customize Ribbon and checking the Developer option.
    2. Create a Macro:
      • Click on the Developer tab, then click on Macros.
      • Enter a name for your macro (e.g., ReturnToLastPosition) and click Create.
      • In the VBA editor, enter the following code:
             Sub ReturnToLastPosition()
                 ActiveDocument.Bookmarks("LastPosition").Select
             End Sub
        
      • Close the VBA editor.
    3. Insert a Bookmark:
      • Place your cursor at the point you want to return to (e.g., the word "Requirements").
      • Go to the Insert tab, click on Bookmark, name it LastPosition, and click Add.
    4. Add a Button:
      • In the Developer tab, click on Insert and choose a Button (Form Control).
      • Draw the button on your document.
      • When prompted, assign the macro you created (ReturnToLastPosition) to the button.
    5. Test the Button:
      • Click the button after navigating to the Table of Contents entry, and it should return you to the last position marked by the bookmark.

    This method allows you to create a functional button that returns the user to the last point without needing to use keyboard shortcuts or additional menu items.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.