Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Can't get rid of a button

I have added a button to a sheet - now I want it gone.
However, for some reason, I can not highlight (or outline)
the button. I can not get to a point to alter any
properties for the button. Any ideas what I may have
changed to prevent my access to it? The sheet and
workbook are not protected.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can't get rid of a button

Do you have the sheet in design mode (display the control toolbox toolbar,
then click the upper left icon so it appears depressed - this assumes the
button is from the control toolbox toolbar). To delete it you can try

ActiveSheet.OleObjects(1).Delete

if there is only one object on the worksheet - if not, you will need to
figure out which one it is.

--
Regards,
Tom Ogilvy

"jefe" wrote in message
...
I have added a button to a sheet - now I want it gone.
However, for some reason, I can not highlight (or outline)
the button. I can not get to a point to alter any
properties for the button. Any ideas what I may have
changed to prevent my access to it? The sheet and
workbook are not protected.
Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Undo button and redo button quit stillkicking Excel Discussion (Misc queries) 7 November 14th 09 04:40 PM
Inserting a Graphic on a Button when the Button is Assigned to a M smck Excel Discussion (Misc queries) 2 October 27th 09 04:46 PM
insert row above button (retrieve position of button) Max Excel Discussion (Misc queries) 3 November 7th 07 06:27 PM
How do I lock a radio button group if a N/A button is selected worry a lot Excel Discussion (Misc queries) 2 May 21st 05 08:33 PM
Command Button vs Form Button T K Excel Programming 4 August 26th 03 07:26 PM


All times are GMT +1. The time now is 04:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"