View Single Post
 
Old 05-25-2020, 12:00 PM
alex100 alex100 is offline Windows 7 64bit Office 2016
Advanced Beginner
 
Join Date: May 2020
Posts: 79
alex100 is on a distinguished road
Default

To: Greg Maxey (gmaxey)

The code you posted above works great, but for non-inline images, it will still leave an empty paragraph where the image used to be.

How can I change the 'rngStory.ShapeRange.Item(lngIndex).Delete' instruction so that it will not only delete the image itself, but also the paragraph?

I'm looking for a solution where there are no additional spaces left in between the document lines, after all images have been removed.

Thank you very much!

Alex
Reply With Quote