Result Property

Applies To

Field object, FormField object.

Description

Field object: Returns a Range object that represents a field's result. You can access a field result without changing the view from field codes. Read/write.

Note Use the Text property to return text from a Range object.

FormField object: Returns the result of the specified form field. Read/write String.

See Also

Code property, EditType method, FormFields property, Text property.

Example

This example displays the result of each form field in the active document.

For Each aField In ActiveDocument.FormFields
    MsgBox aField.Result
Next aField
This example applies bold formatting to the first field in the selection.

If Selection.Fields.Count >= 1 Then
    Set myRange = Selection.Fields(1).Result
    myRange.Bold = True
End If