Hi,
I have the following vba that copy>pastes a worksheet range from excel into ppt as a picture. What code will then assign a Fade In animation to the picture?
Hope you can help, many thanks.
I have the following vba that copy>pastes a worksheet range from excel into ppt as a picture. What code will then assign a Fade In animation to the picture?
Hope you can help, many thanks.
Code:
Set PPApp = GetObject(, "Powerpoint.Application")
Set PPPres = PPApp.ActivePresentation
Sheet72.Range("G15:S37").CopyPicture Appearance:=xlScreen, Format:=xlPicture
PPPres.Slides(1).Shapes.Paste
With PPPres.Slides(1)
With .Shapes(.Shapes.Count)
.LockAspectRatio = msoTrue
.ScaleHeight 0.8, msoTrue
.Left = 27
.Top = 121
End With
End With
Last edited by a moderator: