View Single Post
 
Old 05-24-2025, 04:53 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The simplest approach is to rename File B as File A.

Or you could use a macro like:
Code:
Sub ChangeLinks()
Dim Sld As Slide, Shp As Shape
For Each Sld In ActivePresentation.Slides
  For Each Shp In Sld.Shapes
    With Shp
      If .Type = 10 Then
        With .LinkFormat
          .SourceFullName = Replace(.SourceFullName, "File A.xlsx", "File B.xlsx")
          .Update
        End With
      End If
    End With
  Next
Next
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote