Written by Allen Wyatt (last updated June 11, 2022)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365
Susan does quite a bit of work with bookmarks in her documents. To help her do her work more efficiently, she would like to turn on/off the display of bookmarks without having to go to the Word Options dialog box every time.
This is rather easy to do using what is effectively a single-line macro:
Sub ToggleBookmarks() ActiveWindow.View.ShowBookmarks = _ Not ActiveWindow.View.ShowBookmarks End Sub
This macro can easily be assigned to a shortcut key or to a button on the Quick Access Toolbar. Either way, it toggles the setting of the bookmarks in the current window. (It affects only the current window.)
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9135) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365.
The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!
Bookmarks are quite helpful in a document. You may want to transfer the contents of a bookmark into a macro variable in ...Discover More
When you do a search and replace operation in Word, it is possible that you could inadvertently wipe out a bookmark or ...Discover More
Need to get rid of a lot of bookmarks all at once? Word doesn't provide a way to do it, but you can use the short macro ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube