I'm experiencing SLOW changing, NOT updating, the links in powerpoint presentation for linked objects. Sample codes are as below:
For Each sld In ActivePresentation.Slides
For Each shp In sld.Shapes
If shp.Type = msoLinkedOLEObject Then
Src_Old = Split(shp.LinkFormat.SourceFullName, "!")(0)
Src_New = Src_Path & "\" & Src_Book_Name
shp.LinkFormat.SourceFullName = Replace(shp.LinkFormat.SourceFullName, Src_Old, Src_New)
End If
Next shp
Next sld
During each iteration, the external source file will be reopen and the link will be updated, which significantly slow down the running. So the questions are:
- Is there anyway to force NOT updating the link but just change the texts for SourceFullName?
- Even if the answer is NO, is there anyway to stop reopening the external source files each iteration?
Thanks in advance.