Carlos260488
New Member
- Joined
- Aug 22, 2014
- Messages
- 8
How can I delete all pictures in active sheet without deleting my ComboBox.
I've already tried:
and
both of those delete my combo box
Should I create an If function to avoid macro killing my combo box??
or is there any property in combo box to lock it?
Thanks in advance!
I've already tried:
Code:
Sub DeletePcsTest001()
ActiveSheet.Pictures.Delete
End Sub
and
Code:
Sub DeletePcsTest0002()
ActiveSheet.Shapes.SelectAll
Selection.Delete
End Sub
both of those delete my combo box
Should I create an If function to avoid macro killing my combo box??
or is there any property in combo box to lock it?
Thanks in advance!