Table of contents
TOC
Collapse the table of content
Expand the table of content

Field.Result Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns a String that represents the result of the specified field. Read-only.

Syntax

expression. Result

_expression_A variable that represents a Field object.

Return Value

String

Example

This example applies bold formatting to the first field in the selection. This example assumes that either text or a shape with text is selected in the active publication.

Sub GetFieldResults() 
 If Selection.TextRange.Fields.Count > 0 Then 
 MsgBox "The result of the first field is " &; _ 
 Selection.TextRange.Fields(1).Result &; "." 
 End If 
End Sub
© 2018 Microsoft