View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Delete Commandbutton?

Is it a control toolbox button?

Worksheets("Sheet3").OleObjects("Button 1").Delete


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"bluegnu" wrote in
message ...

Thanks for the response.

I get the message "unable to get buttons property of worksheet class"
when I press the button. Any idea what I'm doing wrong? I've ensured
the button isn't locked or anything.


--
bluegnu
------------------------------------------------------------------------
bluegnu's Profile:

http://www.excelforum.com/member.php...o&userid=36108
View this thread: http://www.excelforum.com/showthread...hreadid=559824