G Guest Mar 10, 2006 #1 I have inserted two buttons CMD1 and CMD 2. On opening the workbook, I should have the cmd 1 enabled and cmd2 disabled. How to do it?
I have inserted two buttons CMD1 and CMD 2. On opening the workbook, I should have the cmd 1 enabled and cmd2 disabled. How to do it?
M mudraker Mar 10, 2006 #2 Raj 2 ways Right click on button > select properties > Select Enable and change to flase From within a macro Private Sub CommandButton1_Click() CommandButton2.Enabled = False Your Code Here End Sub
Raj 2 ways Right click on button > select properties > Select Enable and change to flase From within a macro Private Sub CommandButton1_Click() CommandButton2.Enabled = False Your Code Here End Sub