#1   Report Post  
bigtonyicu
 
Posts: n/a
Default hiding forms button


I guess the name says it all I'm wondering if there's anyway to hade a
form button. I want to creat a macro that will hide all the forms
button and protect the sheet

when I try to just hide the columns it just moves the buttons to the
right and leaves them there.

please help a newb...


--
bigtonyicu
------------------------------------------------------------------------
bigtonyicu's Profile: http://www.excelforum.com/member.php...o&userid=22430
View this thread: http://www.excelforum.com/showthread...hreadid=395117

  #2   Report Post  
Henry
 
Posts: n/a
Default

bigtonyicu,

Private Sub CommandButton2_Click()
CommandButton1.Visible = False
End Sub

and to show it again:

Private Sub CommandButton3_Click()
CommandButton1.Visible = True
End Sub

Henry

"bigtonyicu" wrote
in message ...

I guess the name says it all I'm wondering if there's anyway to hade a
form button. I want to creat a macro that will hide all the forms
button and protect the sheet

when I try to just hide the columns it just moves the buttons to the
right and leaves them there.

please help a newb...


--
bigtonyicu
------------------------------------------------------------------------
bigtonyicu's Profile:
http://www.excelforum.com/member.php...o&userid=22430
View this thread: http://www.excelforum.com/showthread...hreadid=395117



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
Command Button anomalies RWN Excel Discussion (Misc queries) 5 May 4th 05 05:09 AM
Command Button VBA code Dave Peterson Excel Discussion (Misc queries) 2 January 25th 05 11:28 PM
Option Button on Forms Toolbar admannj Excel Discussion (Misc queries) 4 January 25th 05 01:07 AM
Macro to simply bring up the Find dialogue box?? marika1981 Excel Discussion (Misc queries) 14 January 14th 05 10:47 PM
How do I setup a spin button in excel Andy K Excel Discussion (Misc queries) 1 November 26th 04 09:08 PM


All times are GMT +1. The time now is 09:05 PM.

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"