Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Removing All Bookmarks.
by Allen Wyatt
(last updated December 7, 2017)
Some people absolutely love bookmarks. They do come in handy, but if someone else set bookmarks in a document, you may not need them once you get the document from them. If there are many, many bookmarks set (remember, we are talking about people who really love bookmarks), removing them all one at a time can be rather tedious.
If you find yourself in this situation, you will want to keep the following macro handy. It examines the active document (the one you are looking at) and removes all the bookmarks within it.
Sub RemoveAllBookmarks() Dim objBookmark As Bookmark For Each objBookmark In ActiveDocument.Bookmarks objBookmark.Delete Next End Sub
You should note that this simply deletes the bookmark, not any text referenced by the bookmark.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9004) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Removing All Bookmarks.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Need to know what bookmarks are defined in a document? Here's a macro that creates a list of all your bookmarks so that ...Discover More
Word has an irritating habit of placing unwanted bookmarks in a document that you've been editing for a while. These ...Discover More
Bookmarks can be great for referencing and finding portions of your document. If you want to easily see where the ...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.