ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   hiding forms button (https://www.excelbanter.com/excel-discussion-misc-queries/40007-hiding-forms-button.html)

bigtonyicu

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


Henry

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





All times are GMT +1. The time now is 06:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com