The Shapes collection, which is used in the macro, will not remove shapes that are positioned "In line with text." For that, you'll need to reference InlineShapes.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|