Document.Bookmarks Property
Word Developer Reference |
Returns a Bookmarks collection that represents all the bookmarks in a document. Read-only.
Syntax
expression.Bookmarks
expression A variable that represents a Document object.
Remarks
For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example retrieves the starting and ending character positions for the first bookmark in the active document.
Visual Basic for Applications |
---|
|
This example uses the aMarks() array to store the name of each bookmark contained in the active document.
Visual Basic for Applications |
---|
|
See Also