Replace existing image in MS PowerPoint with a new image using VBA
问题 I'm updating my MS PowerPoint by pasting images on different slides using VBA. Rest of the code is working fine. What I'm unable to do is delete the existing image on all the slides and paste the new image. Currently it paste the new image on top of old image, but old image remains. I'm using below code: Dim pptApp As PowerPoint.Application Set pptApp = CreateObject("PowerPoint.Application") pptApp.Visible = msoTrue xlApp.Worksheets(2).Range("M2:S12").Copy Set shp1 = ActivePresentation.Slides