J
James
Hello Folks,
I hope someone can help me with a radio button question.
I want to but a group of 4 buttons on a page and then display an answer if
the correct button is selected. (I'm trying to create a test for my grandson
using Word®)
Here is the code I have, I can get the buttons to just select one at a time.
===========CODE==================
Private Sub radTest1_Click()
If radTest1.Value = 1 Then
radTest2.Enabled = False
rad3Test.Enabled = False
radTest4.Enabled = False
lblAnswer.Caption = "You're right"
End If
End Sub
===========End Code================
What do I need to do next ???
James
I hope someone can help me with a radio button question.
I want to but a group of 4 buttons on a page and then display an answer if
the correct button is selected. (I'm trying to create a test for my grandson
using Word®)
Here is the code I have, I can get the buttons to just select one at a time.
===========CODE==================
Private Sub radTest1_Click()
If radTest1.Value = 1 Then
radTest2.Enabled = False
rad3Test.Enabled = False
radTest4.Enabled = False
lblAnswer.Caption = "You're right"
End If
End Sub
===========End Code================
What do I need to do next ???
James