Share via


FormField.Previous Property

Word Developer Reference

Returns the previous form field in the collection. Read-only.

Syntax

expression.Previous

expression   A variable that represents a FormField object.

Example

This example displays the field code of the second-to-last form field in the active document.

Visual Basic for Applications
  Set aField = ActiveDocument _
    .FormFields(ActiveDocument.FormFields.Count).Previous
MsgBox "Form field code = " & aField.Code

See Also