how to fix this macro code to remove all pictures from document
this code work but not perfect
Code: Select all
Sub DitchPictures()
Dim objPic As InlineShape
For Each objPic In ActiveDocument.InlineShapes
objPic.Delete
Next objPic
End Sub
i want the code can gone everything (images, caption text & table/border format)
here picture screen shoot (before ,after run macro, my expected result) to make more clear
thank for anyone help me
susant