|
找到这一句代码:
If Slide1.CheckBox2.Value = True And Slide1.CheckBox3.Value = True And Slide1.CheckBox1.Value = False And Slide1.CheckBox4.Value = False Then
此为多选BC对,修改一下代码就成单选了:其余依次类推:
A对:
If Slide1.CheckBox1.Value = True And Slide1.CheckBox2.Value = False And Slide1.CheckBox3.Value = False And Slide1.CheckBox4.Value = False Then
B对:
If Slide1.CheckBox1.Value = False And Slide1.CheckBox2.Value = True And Slide1.CheckBox3.Value = False And Slide1.CheckBox4.Value = False Then
C对:
If Slide1.CheckBox1.Value = False And Slide1.CheckBox2.Value = False And Slide1.CheckBox3.Value = True And Slide1.CheckBox4.Value = False Then
D对:
If Slide1.CheckBox1.Value = False And Slide1.CheckBox2.Value = False And Slide1.CheckBox3.Value = False And Slide1.CheckBox4.Value = True Then |
|