View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Brad E Brad E is offline
external usenet poster
 
Posts: 7
Default Finding a button

During a macro, if there is a "Button" on the activesheet,
I would like to delete it.
Activesheet.Shapes("Button 1").Cut
will get rid of it, but sometimes the macro is run a
second time and then there is no button to cut and I get
an error message. Is there an IF statement to find shapes?

TIA, Brad E.