In case Word is not able to retrieve an image when you paste an article from the web (because of a bad connection, for example), it will instead insert a placeholder on that location.
I am trying to remove these, and so far I have the code below, but it's far from working as it should...
Code:
For Each oShape In ActiveDocument.Shapes
If oShape.AutoShapeType = msoShapeRectangle Then
oShape.Delete
End If
Next
It does remove some of the placeholders, but not all of them, as some will be left behind.
Then, how can I execute the code for the current selection only, instead of the entire document?
Thank you!
Alex