OLEFormat.Label Property
Word Developer Reference |
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.
Visual Basic for Applications |
---|
|
See Also