IconPath Property
Applies To
OLEFormat object.
Description
Returns the path of the file in which the icon for an OLE object is stored. Read-only.
See Also
DisplayAsIcon property, IconIndex property, IconLabel property, IconName property.
Example
This example displays the path for each floating embedded OLE object that's displayed as an icon on the active document.
For each s in ActiveDocument.Shapes
If s.Type = msoEmbeddedOLEObject Then
If s.OLEFormat.DisplayAsIcon = True Then Msgbox s.OLEFormat.IconPath
End If
Next s