In my Userform I would like to stop a command button from being pressed until a minimum of 5 checkboxes out of 10 have been selected.
I have a total of how many checkboxes have been selected. How do I write the code on the command button that if Label X (which has the total of the checkboxes) is greater than 4 then run the Comman Button to exit Excel.
Thank you for your help.
Bookmarks