Partager via


Bookmarks Members (Word)

A collection of Bookmark objects that represent the bookmarks in the specified selection, range, or document.

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.