Skip to main content

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

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  /  Inquire for Information based on Document, 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 our 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 swiftly to any location  /  auto-insert repetitive text  /  seamlessly toggle between document windows  /  11 Conversion Tools...

👉 Want to try these features? Kutools for Word offers a 60-day free trial, with no limitations! 🚀
Free Download     Read More     Buy Now
 
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations