Label Property

Microsoft Word Visual Basic

expression.Label

expression    Required. An expression that returns an OLEFormat object.

Example

This example returns the label for the first field in the active document.

MsgBox ActiveDocument.Fields(1).OLEFormat.Label