Compartilhar via


Field.Index Property

Word Developer Reference

Returns a Long that represents the position of an item in a collection. Read-only.

Syntax

expression.Index

expression   Required. A variable that represents a Field object.

Example

This example returns the position of the selected field in the Fields collection.

Visual Basic for Applications
  num = Selection.Fields(1).Index

See Also