As you see in the image, I have three options groups. When I check No of G and Yes of B, the ER option will be enabled( I choose enabled false on ER).
After I type the code, it does not work. How could I fix it?Code:Private Sub frER_Click() Dim lblNo1 As Boolean Dim lblYes2 As Boolean If lblNo1.Checked = True And lblYes2.Checked = True Then frER.Enabled = True Else frER.Enabled = False End If End Sub
Thank you.