Skip to main content

How to return to the Table of Contents in Word document?

Author: Siluvia Last Modified: 2018-11-12

Create a table of contents in your document helps readers to navigate through different sections of the long document contents. If you navigate to a section with the TOC link, do you know how to return to it? This article shows two methods for you.

Return to the TOC in Word with Back function

Return to the TOC in Word with VBA code


Return to the TOC in Word with Back function

The Back function can help you return to the TOC in Word immediately. Please do as follows.

1. Click Customize Quick Access Toolbar > More Commands. See screenshot:

2. In the Word options window, please:

2.1) Select All Commands from the Choose commands from drop-down list;

2.2) Select Back in the commands box;

2.3) Click the Add button;

2.4) Click the OK button. See screenshot:

3. Now the Back button is added on the Quick Access Toolbar. Every time you shift to certain section with the Table of Contents link, click the Back button will return to the TOC immediately.


Return to the TOC in Word with VBA code

You can also use VBA code to return to the Table of Contents in Word document.

1. First, you should create a bookmark for this TOC section, please select the whole Table of Contents in your document, click Insert > Bookmark.

2. In the Bookmark dialog box, enter BackToTOC into the Bookmark name box and click the Add button.

3. Press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window.

4. In the window, click Insert > Module. Then copy below code into the Module window.

VBA code: Return to Table of Contents in Word

Sub BackTOC()
    Selection.GoTo What:=wdGoToBookmark, Name:="BackToTOC"
End Sub

5. Press the Alt + Q keys to close the Microsoft Visual Basic for Applications window.

6. Now you need to add the macro to the Quick Access Toolbar. Click Customize Quick Access Toolbar > More Commands. See screenshot:

7. In the Word Options window, select Macros in the first drop-down list, select the macro name β€œProject.Module1.BackTOC” in the list box and click Add button. Then click OK to finish the setting.

From now on, after shifting to certain section with the Table of Contents link, click the Macro button in the Quick Access Toolbar will return to the TOC immediately.

Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

πŸ€– Kutools AI Assistant: Transform your writing with AI - Generate Content  /  Rewrite Text  /  Summarize Documents  /  Get Quick Answers, all within Word

πŸ“˜ Document Mastery: Split Pages  /  Merge Documents  /  Export Selection in Various Formats (PDF/TXT/DOC/HTML...)  /  Batch Convert to PDF  /  Export Pages as Images  /  Print Multiple Files at once...

✏ Contents Editing: Batch Find and Replace across Multiple Files  /  Resize All Pictures  /  Transpose Table Rows and Columns  /  Convert Table to Text...

🧹 Effortless Clean: Sweap away Extra Spaces  /  Section Breaks  /  All Headers  /  Text Boxes  /  Hyperlinks  /  For more removing tools, head to the Remove group...

βž• Creative Inserts: Insert Thousand Separators  /  Check Boxes  /  Radio Buttons  /  QR Code  /  Barcode  /  Diagonal Line Table  /  Equation Caption  /  Image Caption  /  Table Caption  /  Multiple Pictures  /  Discover more in the Insert group...

πŸ” Precision Selections: Pinpoint Specific Pages  /  Tables  /  Shapes  /  Heading Paragraphs  /  Enhance navigation with more Select features...

⭐ Star Enhancements: Navigate to Any Location  /  Auto-Insert Repetitive Text  /  Toggle Between Document Windows  /  11 Conversion Tools...

πŸ‘‰ Want to try these features? Download Kutools for Word now! πŸš€
 
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations