Empty Property

Applies To

Bookmark object.

Description

True if the specified bookmark is empty. An empty bookmark marks a location (a collapsed selection); it doesn't mark any text. Read-only Boolean.

Note An error occurs if the specified bookmark doesn't exist. Use the Exists property to determine whether the bookmark exists.

See Also

Exists property.

Example

This example determines whether the bookmark named "temp" exists and whether it is empty.

If ActiveDocument.Bookmarks.Exists("temp") = True Then
    If ActiveDocument.Bookmarks("temp").Empty = True Then _
    MsgBox "The Temp bookmark is empty"
End If