Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deleting pictures

Status
Not open for further replies.

rgandy

Technical User
Nov 17, 2005
38
US
i have a workbook with a bunch of pictures

they are either being labeled by excel as freeform, object or picture

how can i cycle through these and delete them without hitting control objects (ie. dropdowns)

is there a simple way? thanks
 
Code:
Dim S As Shape

For Each S In ActiveSheet.Shapes
    S.Select
    Selection.Delete
Next

I hope this helps.

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top