Result Property

Result property as it applies to the 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. Use the Text property to return text from a Range object. Read/write.

expression.Result

expression Required. An expression that returns a Field object.

Result property as it applies to the FormField object.

Returns a String that represents the result of the specified form field. Read/write.

expression.Result

expression Required. An expression that returns a FormField object.

Example

As it applies to the Field object.

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

As it applies to the FormField object.

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

For Each aField In ActiveDocument.FormFields
    MsgBox aField.Result
Next aField

Applies to | Field Object | FormField Object

See Also | Code Property | EditType Method | FormFields Property | Text Property