autoshape problem

D

dominik

...have a lot of autoshapes and textboxes in document. How
can I remove them automaticly from doc (keyboard shortcut
or macro) thx...
 
G

Graham Mayor

Sub DeleteAutoshapes()
Dim oShp As Shape
For Each oShp In ActiveDocument.Shapes
oShp.Delete
Next oShp
End Sub

should do the trick (Ctrl+Z will undo if it is not exactly what you
intended)


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top