ShowHidden Property
Applies To
Bookmarks collection object.
Description
True if hidden bookmarks are included in the Bookmarks collection. This property also controls whether hidden bookmarks are listed in the Bookmark dialog box (Insert menu). Read/write Boolean.
Remarks
Hidden bookmarks are automatically inserted when cross-references are inserted into the document.
See Also
Bookmarks property, ShowBookmarks property.
Example
This example displays the Bookmark dialog box with both visible and hidden bookmarks listed.
ActiveDocument.Bookmarks.ShowHidden = True
Dialogs(wdDialogInsertBookmark).Show
This example displays the name of each hidden bookmark in the document. Hidden bookmarks in a Word document begin with an underscore ( _ ).
ActiveDocument.Bookmarks.ShowHidden = True
For Each aBookmark In ActiveDocument.Bookmarks
If Left(aBookmark.Name, 1) = "_" Then MsgBox aBookmark.Name
Next aBookmark