Partager via


Bookmark Members (Word)

Represents a single bookmark in a document, selection, or range. The Bookmark object is a member of the Bookmarks collection. The Bookmarks collection includes all the bookmarks listed in the Bookmark dialog box (Insert menu).

Methods

Name

Description

Copy

Copies a bookmark to the new bookmark specified in the Name argument, and returns a Bookmark object.

Delete

Deletes the specified bookmark.

Select

Selects the specified bookmark.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Column

True if the specified bookmark is a table column. Read-only Boolean.

Creator

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

Empty

True if the specified bookmark is empty. Read-only Boolean.

End

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

Name

Returns the name of the specified object. Read-only String.

Parent

Returns an Object that represents the parent object of the specified Bookmark object.

Range

Returns a Range object that represents the portion of a document that's contained in the specified object.

Start

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

StoryType

Returns the story type for the specified range, selection, or bookmark. Read-only WdStoryType.