Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Shapes
Whats the VBA code to delete all the shapes on a worksheet?
|
#2
|
|||
|
|||
Shapes
Sub TryNow()
Dim mySht As Worksheet Set mySht = ActiveSheet mySht.Shapes.SelectAll Selection.Delete End Sub -- HTH, Bernie MS Excel MVP "aftamath" wrote in message ... Whats the VBA code to delete all the shapes on a worksheet? |
#3
|
|||
|
|||
Shapes
Sub deleteshapes() For Each shp In ActiveSheet.Shapes shp.Delete Next shp End Sub -- i-Zapp ------------------------------------------------------------------------ i-Zapp's Profile: http://www.excelforum.com/member.php...fo&userid=5768 View this thread: http://www.excelforum.com/showthread...hreadid=479462 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Bubble Charts - Different Shapes | Charts and Charting in Excel | |||
How to protect shapes in Excel | Excel Discussion (Misc queries) | |||
Manipulating shapes | Excel Discussion (Misc queries) | |||
How can i get more 3D shapes for Auto shapes in excel? | Excel Discussion (Misc queries) | |||
How can i get more 3D shapes for Auto shapes in excel? | Excel Discussion (Misc queries) |