I apologize if this has been answered elsewhere, but I've been searching for the last 2 hours without finding help specific to my needs.
I have an Excel template in which I want to launch an administrator options dialog box (back-end maintenance). I have started by inserting a command button form on a worksheet, which is linked to a 'UserForm named AdminControl (clicking the button to launch the dialog box. The AdminControl UserForm includes an option box with 3 radio buttons and an OK button a Cancel button at the bottom (image attached).
I don't need help with the code for the individual options, but I do need help getting the AdminControl UserForm to run the code specific to each option. For example, I would like to be able to select either of the first 2 options and then run their respective code when I click on the OK button at the bottom; or be able to click on the third option and have the 'Enable' and 'Disable' buttons appear, and have specific code run when I select Enable or Disable.
If I'm leaving out any important information, please let me know--I'm fairly new to VBA. Thanks in advance for any help.
Bookmarks