SetBookmark Method

Home Page (Objects)OverviewFAQReference

Applies to: TextSelection object

Sets an unnamed bookmark at the active end of a selection.

Syntax

object**.SetBookmark**

Parameters

object

An expression that evaluates to a TextSelection object.

Remarks

The active end of a selection is where the insertion point is.

Example

The following example sets an unnamed bookmark at the active end of a selection:

ActiveDocument.Selection.SetBookmark

See Also   ClearBookmarks method, NextBookmark method, PreviousBookmark method.