Document.Indexes Property
Word Developer Reference |
Returns an Indexes collection that represents all the indexes in the specified document. Read-only.
Syntax
expression.Indexes
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 adds an index at the end of the active document.
Visual Basic for Applications |
---|
|
This example inserts an index entry for the selected text.
Visual Basic for Applications |
---|
|
See Also