Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.27 KB

Word.LinkFormat.SourceFullName.md

File metadata and controls

53 lines (33 loc) · 1.27 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
LinkFormat.SourceFullName property (Word)
vbawd10.chm154206229
vbawd10.chm154206229
Word.LinkFormat.SourceFullName
a55a6834-3325-567c-47da-76e976bc6ebf
06/08/2017
medium

LinkFormat.SourceFullName property (Word)

Returns or sets the path and name of the source file for the specified linked OLE object, picture, or field. Read/write String.

Syntax

expression. SourceFullName

expression An expression that returns a 'LinkFormat' object.

Remarks

Using this property is equivalent to using in sequence the SourcePath, PathSeparator, and SourceName properties.

Example

This example sets MyExcel.xls as the source file for shape one on the active document and specifies that the OLE object be updated automatically.

With ActiveDocument.Shapes(1) 
 If .Type = msoLinkedOLEObject Then 
 With .LinkFormat 
 .SourceFullName = "c:\my documents\myExcel.xls" 
 .AutoUpdate = True 
 End With 
 End If 
End With

See also

LinkFormat Object

[!includeSupport and feedback]