When I try to run the following code I get a Variable Not Defined error message.
Select Case OptionButton1.Value
Case True
Sheet1.Cells(1, 1) = "YES"
Case False
Sheet1.Cells(1, 1) = "NO"
End Select
I have tried creating the option buttons both from the forms toolbar and from the controls toolbar and I can't get either to work. Am I missing a reference or something?
Thanks in advance for any help you can provide.
Select Case OptionButton1.Value
Case True
Sheet1.Cells(1, 1) = "YES"
Case False
Sheet1.Cells(1, 1) = "NO"
End Select
I have tried creating the option buttons both from the forms toolbar and from the controls toolbar and I can't get either to work. Am I missing a reference or something?
Thanks in advance for any help you can provide.