ClearBookmarks Method

Home Page (Objects)OverviewFAQReference

Applies to: TextDocument object

Removes all unnamed bookmarks in a document.

Syntax

object**.ClearBookmarks**

Parameters

object

An expression that evaluates to a TextDocument object.

Example

The following example removes all unnamed bookmarks in the current document:

ActiveDocument.ClearBookmarks

See Also   NextBookmark method, PreviousBookmark method, SetBookmark method.