In the Word Options window, select Macros in the first drop-down list, select the macro name “ ” in the list box and click Add button. Click Customize Quick Access Toolbar > More Commands. Select the area of the document that you want the table of contents to relate to and then click the INSERT Ribbon tab.
Now you need to add the macro to the Quick Access Toolbar. The first step is to create the bookmarks. Press the Alt + Q keys to close the Microsoft Visual Basic for Applications window.Ħ. Selection.GoTo What:=wdGoToBookmark, Name:="BackToTOC"ĥ. VBA code: Return to Table of Contents in Word Sub BackTOC()
Then copy below code into the Module window. Press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window.Ĥ. In the Bookmark dialog box, enter BackToTOC into the Bookmark name box and click the Add button.ģ. First, you should create a bookmark for this TOC section, please select the whole Table of Contents in your document, click Insert > Bookmark.Ģ. You can also use VBA code to return to the Table of Contents in Word document.ġ. Every time you shift to certain section with the Table of Contents link, click the Back button will return to the TOC immediately. Now the Back button is added on the Quick Access Toolbar. See screenshot:Ģ.1) Select All Commands from the Choose commands from drop-down list Ģ.4) Click the OK button.
The Back function can help you return to the TOC in Word immediately. Return to the TOC in Word with Back function
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. Your table of contents should be deleted immediately.How to return to the Table of Contents in Word document?Ĭreate a table of contents in your document helps readers to navigate through different sections of the long document contents. Select Remove Table of Contents from the drop-down menu.įigure 16.You don’t have to select the table of contents to delete it.
Your table of contents should update immediately.
Pro Tip: You can also select Update Table in the Table of Contents group in the References tab.