Bookmarks.ShowHidden Property
Word Developer Reference |
True if hidden bookmarks are included in the Bookmarks collection. Read/write Boolean.
Syntax
expression.ShowHidden
expression An expression that returns a Bookmarks collection object.
Remarks
The ShowHidden property also controls whether hidden bookmarks are listed in the Bookmark dialog box (Insert menu). Hidden bookmarks are automatically inserted when cross-references are inserted into the document.
Example
This example displays the Bookmark dialog box with both visible and hidden bookmarks listed.
Visual Basic for Applications |
---|
|
This example displays the name of each hidden bookmark in the document. Hidden bookmarks in a Word document begin with an underscore ( _ ).
Visual Basic for Applications |
---|
|
See Also