Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a string that's used to identify the portion of the source file that's being linked. Read-only String.
Syntax
expression. Label
expression An expression that returns an 'OLEFormat' object.
Remarks
If the source file is a Microsoft Excel workbook, the Label property might return "Workbook1!R3C1:R4C2" if the OLE object contains only a few cells from the worksheet.
This property works only for shapes, inline shapes, or fields that are linked OLE objects.
Example
This example returns the label for the first field in the active document.
MsgBox ActiveDocument.Fields(1).OLEFormat.Label
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.