Hi,
I made this userform but I need help to finish it.
There are 4 check boxes and 4 buttons, Each check box has its button.
when box 1 is clicked I need button 1 to be disabled. Same for 2 and 3.
and when box 4(9 in attachment) is clicked the button 4(9) must be enabled(activated). just like when you install a software where they ask if you agree with the therms and so.
thx
Last edited by Bluewhistler; 02-22-2010 at 08:55 AM.
Try the attached. I've added code to the click events of Box1 and Box9 as well as to the buttons for each box
I moved the opening of the form from the Open event to the BeforeClose event.
Thx for the help.
I managed to finish the rest and tested it out and attached it here.
All works fine except 1 button can't perform the command its assigned to because of the code in this workbook:
So I got a commandbutton1 in the Confirm1 Userform that is assigned with:Code:Private Sub Workbook_Before Close(Cancel As Boolean) Confirm1.Show 'When button "Co Back to workbook" is clicked in the Confirm1 Form 'this workbook.close needs to be canceled so I can go back to to the workbook. End Sub
When I push this button the workbook closes because its still in the 'Private Sub Workbook_BeforeClose' code.Code:Private Sub CommandButton1_Click() Confirm1.Hide End Sub
Is there a way to cancel that code? Something like this?
ThxCode:Private Sub CommandButton1_Click() Confirm1.Hide Workbook.close Cancel End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks