How to offset a background image in MS PowerPoint with VBA?

459 views Asked by At

I need to offset the background image in MS PowerPoint using VBA. I am able to add the background image but not sure how to offset it. Hence, need a little help here:

enter image description here

Here's my VBA code to add a background image:

With ActivePresentation.Slides(1)
    
    .FollowMasterBackground = False
    
    .Background.Fill.UserPicture ("C:\Users\<user>\Pictures\Camera Roll\bg.jpg")

End With

*I use the MSO 2016 version.

Much thanks!

0

There are 0 answers