Field.Index property (Word)

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.

num = Selection.Fields(1).Index

See also

Field Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.