Hello All,
I have this code that keeps error out. I tried it a number of ways and I still get errors. This is in powerpoint by the way. All I am trying to do is update the link in the Graph.
Any Ideas?
Thanks
End Sub
I have this code that keeps error out. I tried it a number of ways and I still get errors. This is in powerpoint by the way. All I am trying to do is update the link in the Graph.
Code:
Private Sub CommandButton1_Click()
Dim osld As Slide
Dim oshp As Shape
For Each osld In ActivePresentation.Slides
For Each oshp In osld.Shapes
If oshp.Type = msoLinkedOLEObject Then
oshp.LinkFormat.Update
Next oshp
Next osld
End Sub
Any Ideas?
Thanks
End Sub