Label Property
Applies To
OLEFormat object.
Description
Returns a string that's used to identify the portion of the source file that's being linked. For example, if the source file is a Microsoft Excel workbook, the Label property might return "MyWorkbook!R3C1:R4C2" if the OLE object contains only a few cells from the worksheet. Read-only String.
Note This property works only for shapes, inline shapes, or fields that are linked OLE objects.
See Also
ClassType property, ProgID property.
Example
This example returns the label for the first field in the active document.
MsgBox ActiveDocument.Fields(1).OLEFormat.Label