SetEndOfBookmark

Syntax

SetEndOfBookmark Bookmark1$ [, Bookmark2$]

Remarks

Marks the end point of Bookmark1$ with Bookmark2$. If Bookmark2$ is omitted, Bookmark1$ is set to its own end point.

Example

This example marks the end of the current selection with the bookmark "EndPoint":


SetEndOfBookmark "\Sel", "EndPoint"

The bookmark " \ Sel" is one of several predefined bookmarks that Word defines and updates automatically. For more information, see "Operators and Predefined Bookmarks" later in this part.

See Also

CopyBookmark, EditBookmark, SetStartOfBookmark