I tried searching for this but as i dont know the command I can't seem to find the code.
What im trying to do, I think is pretty easy. I have a Userform with two frames with 4 radio buttons in one and 2 radio buttons in another.
The user must select one in both frames when clicking a command button in the userform. When that is done the userform will unload otherwise i want a MsgBox saying that the user need to select a radio button before finishing.
I tried this even though the "value" option doesnt exist for frames....
I know this doesnt exist for frames.. but what is the option to see if something is selected inside a frame?
Thanks for the help!
What im trying to do, I think is pretty easy. I have a Userform with two frames with 4 radio buttons in one and 2 radio buttons in another.
The user must select one in both frames when clicking a command button in the userform. When that is done the userform will unload otherwise i want a MsgBox saying that the user need to select a radio button before finishing.
I tried this even though the "value" option doesnt exist for frames....
Code:
If Frame1.Value And Frame2.Value = True ThenUnload Me
Else: MsgBox "You have to select an option"
End If
I know this doesnt exist for frames.. but what is the option to see if something is selected inside a frame?
Thanks for the help!