Bookmark.End property (Word)

Returns or sets the ending character position of a selection, range, or bookmark. Read/write Long.



expression A variable that represents a Bookmark object.


If this property is set to a value smaller than the Start property, the Start property is set to the same value (that is, the Start and End properties are equal).

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


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

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

See also

Bookmark Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.