Share via


Bookmark.Start Property

Word Developer Reference

Returns or sets the starting character position of a bookmark. Read/write Long.

Syntax

expression.Start

expression   A variable that represents a Bookmark object.

Remarks

If this property is set to a value larger than that of the End property, the End property is set to the same value as that of Start property.

Bookmark objects have starting and ending character positions. The starting position refers to the character position closest to the beginning of the story.

This property returns the starting character position relative to the beginning of the story. The main text story (wdMainTextStory) begins with character position 0 (zero). You can change the size of a bookmark by setting this property.

Example

This example compares the ending position of the "temp" bookmark with the starting position of the "begin" bookmark.

Visual Basic for Applications
  Set Book1 = ActiveDocument.Bookmarks("begin")
Set Book2 = ActiveDocument.Bookmarks("temp")
If Book2.End > Book1.Start Then Book1.Select

See Also