Table of contents
Collapse the table of content
Expand the table of content

LinkFormat.SourceFullName Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Returns a String that represents the path and name of the source file for the specified linked OLE object, picture, or field. Read-only.


expression. SourceFullName

_expression_A variable that represents a LinkFormat object.

Return Value



This example displays the path and file name of the source file for all embedded OLE shapes on the first page of the active publication.

Sub DisplaySourceName() 
 Dim shp As Shape 
 For Each shp In ActiveDocument.Pages(1).Shapes 
 If shp.Type = pbEmbeddedOLEObject Then 
 With shp.LinkFormat 
 MsgBox .SourceFullName 
 End With 
 End If 
End Sub
© 2018 Microsoft