Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Hide Show Command Buttons

I am hiding a command button(s) with the following statement

CommandButton1.Visible = False

I then need to display all of the buttons on the page. I had tried:

Application.CommandBars("Control Toolbox").Controls("&Design Mode").Execute
CommandButton1.Visible = True

But that didn't work.

Thanks in advance for any help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Hide Show Command Buttons

See this page for a example

http://www.rondebruin.nl/controlsobjectsworksheet.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Troubled User" wrote in message ...
I am hiding a command button(s) with the following statement

CommandButton1.Visible = False

I then need to display all of the buttons on the page. I had tried:

Application.CommandBars("Control Toolbox").Controls("&Design Mode").Execute
CommandButton1.Visible = True

But that didn't work.

Thanks in advance for any help.


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
How to Hide Form and Command Buttons until such condition is true? ash3154 Excel Discussion (Misc queries) 0 September 2nd 09 12:37 AM
Command Button to show/hide a different worksheet Marilyn Excel Discussion (Misc queries) 1 April 22nd 09 03:37 AM
How do I get Excel 2000 command buttons to show in Excel 2003? John Excel Discussion (Misc queries) 0 March 23rd 06 05:16 AM
How do I hide 5 command buttons Karoo News[_2_] Excel Programming 5 January 29th 06 08:44 PM
Control Buttons vs. Command Buttons Robert Gibson Excel Programming 1 October 13th 03 04:33 PM


All times are GMT +1. The time now is 02:44 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"