Share via


NextBookmark Method

Home Page (Objects)OverviewFAQReference

Applies to: TextSelection object

Moves the insertion point to the next unnamed bookmark in a document.

Syntax

object**.NextBookmark**

Parameters

object

An expression that evaluates to a TextSelection object.

Return Values

The NextBookmark method returns one of the following values:

  • True   Indicates that the bookmark was found.

  • False   Indicates that the bookmark was not found.

Example

The following example moves the insertion point to the next unnamed bookmark in a document:

ActiveDocument.Selection.NextBookmark

See Also   ClearBookmarks method, PreviousBookmark method, SetBookmark method.