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!
Dive into the highlighted features below or click here to explore the full power of Kutools for Word.
๐ Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/XLSX) / 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 our Insert Group
๐ Precision Selections: Pinpoint specific pages / tables / shapes / heading paragraphs / Navigate with ease using our Select Group
โญ Star Enhancements: Navigate swiftly to any location / auto-insert repetitive text / seamlessly toggle between document windows / 11 Conversion Tools ...
Transform your Word tasks with Kutools. ๐ Download with 30-day trial Now ๐.
