I have 5 sets of yes and no optionbuttons (active x controls). "No" is set for default.
I want to achieve on when the OptionButton "Yes" is clicked it would automatically take take focus on that cell.
I have 5 sets of yes and no optionbuttons (active x controls). "No" is set for default.
I want to achieve on when the OptionButton "Yes" is clicked it would automatically take take focus on that cell.
Private Sub OptionButton1_Click() If OptionButton1 = "Yes" Then Range("A1").Select Else Range("B1").Select 'Default Range End If End Sub
I expect the student to do their homework and find all the errrors I leeve in.
Please take the time to read the Forum FAQ