Bookmarks
The Bookmarks function in Word is a great tool for referencing documents. Marking a location and cross-referencing information in a document is especially useful when editing long documents. The following articles explain how to create and utilize Bookmarks in Word to best suit your editing needs.
Tips, Tricks, and Answers
The following articles are available for the 'Bookmarks' topic. Click the article''s title (shown in bold) to see the associated article.
Automatically Referencing Info Entered in a Table
Tables are a great way to organize information in a document. At some point you may want a cell in a table to contain the same information that is in a different table cell. Here's a way you can approach this problem.
Deleting a Bookmark
Create a bookmark and you may, at some future point, need to delete that bookmark. It's easy to do, as described in this tip.
Deleting a Page
Want to delete the current page? There is no automatic command to perform this task in Word, but you can create your own command with the single-line macro described in this tip.
Determining the Number of Bookmarks Defined in a Document
If you develop a macro that needs to work with bookmarks defined in a document, it is inevitable that you will need a way to determine the number of bookmarks actually existing. Here's how to get that count.
Getting Bookmark Information in VBA
Bookmarks are a handy way to "mark" locations within a document. If you are creating a macro that processes the document in some manner, it may be helpful for your macro to determine if the insertion point is within a macro and, if so, grab information about that bookmark. Here are the techniques you need in order to do this.
Getting the Names of Defined Bookmarks
When creating a macro, you may need to determine the names of the bookmarks in the document. You can do this using the Bookmarks collection, as described in this tip.
Making Bookmarks Bold
Do you want an easy way to see all the bookmarks in your document? Word provides a way to make them visible, or you can use the macro in this tip to make them all bold.
Preserving Bookmarks During Replace Operations
When you do a search and replace operation in Word, it is possible that you could inadvertently wipe out a bookmark or two. To avoid this potential problem, apply the concepts in this tip.
Printing a Bookmark List
Need to know what bookmarks are defined in a document? Here's a macro that creates a list of all your bookmarks so that you can print it at any time.
Printing a Bookmark List with Contents
Bookmarks can be a great tool in Word, allowing you to easily remember the location of desired blocks of text. If you want to print out all of the text you have bookmarked within your document, you'll love the short macro presented in this tip.
Protecting Bookmarks
Bookmarks are a great boon in developing and working with documents—until someone deletes them. When it comes to protecting your bookmarks, your options are limited.
Random OLE Bookmarks
Word has an irritating habit of placing unwanted bookmarks in a document that you've been editing for a while. These bookmarks, which use the naming pattern OLE_LINK##, don't hurt anything, but they tend to clutter up a document after time. This tip explains how those bookmarks get in your document and how you can get rid of them.
Removing All Bookmarks
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 in this tip to accomplish the task.
Reusing a Bookmark
Bookmarks in Word are just like bookmarks used in paper books, any given bookmark may be reused to mark a new location. Here's how you do it.
Seeing Where Bookmarks Are
Bookmarks can be great for referencing and finding portions of your document. If you want to easily see where the bookmarks in your document are located, here's how to do it.
Selecting a Bookmark in a Macro
Bookmarks can be very handy in a document. Word provides a VBA command you can use to easily select any of those bookmarks.
Setting a VBA Variable From a Bookmark
Bookmarks are quite helpful in a document. You may want to transfer the contents of a bookmark into a macro variable in order to process the information in the bookmark. Here are two techniques for getting at the bookmark information.
Understanding and Using Bookmarks
Bookmarks are a great feature you can use to mark the location of text or to mark a position within a document. They can be used for a wide variety of purposes, but there are a few pointers you need to keep in mind.