P
Pete
Hi all
I have written a subroutine to delete all shapes on a sheet but not any
DownArrows
Sub DeleteShapesExceptDownArrows()
Dim MyShape As Object
For Each MyShape In ActiveSheet.Shapes
If MyShape.Name <> msoShapeDownArrow Then
MyShape.Delete
End If
Next MyShape
End Sub
However, the routine deletes all shapes regardless!
Any ideas?
--
Regards,
Peter Bircher
AutomateXcel
http://www.automatexcel.co.za/index.html
Cell : 083 233 1628
Email: (e-mail address removed)
I have written a subroutine to delete all shapes on a sheet but not any
DownArrows
Sub DeleteShapesExceptDownArrows()
Dim MyShape As Object
For Each MyShape In ActiveSheet.Shapes
If MyShape.Name <> msoShapeDownArrow Then
MyShape.Delete
End If
Next MyShape
End Sub
However, the routine deletes all shapes regardless!
Any ideas?
--
Regards,
Peter Bircher
AutomateXcel
http://www.automatexcel.co.za/index.html
Cell : 083 233 1628
Email: (e-mail address removed)