Bookmarks Members (Word)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Methods

Name

Description

Add

Returns a Bookmark object that represents a bookmark added to a range.

Exists

Determines whether the specified bookmark exists. Returns True if the bookmark exists.

Item

Returns an individual Bookmark object in a collection.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns the number of items in the Bookmarks collection. Read-only Long.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

DefaultSorting

Returns or sets the sorting option for bookmark names displayed in the Bookmark dialog box (Insert menu). Read/write WdBookmarkSortBy.

Parent

Returns an Object that represents the parent object of the specified Bookmarks collection.

ShowHidden

True if hidden bookmarks are included in the Bookmarks collection. Read/write Boolean.