I have four buttons on a single worksheet. I need to know which
button
is enabled because some values are based on these buttons.
The following fails:
If ActiveSheet.Shapes("Option Button 1").Value = xlOn Then
CS_Flag
= True
If ActiveSheet.Shapes("Option Button 2").Value = xlOn Then
RS_Flag
= True
If ActiveSheet.Shapes("Option Button 3").Value = xlOn Then
EX_Flag
= True
If ActiveSheet.Shapes("Option Button 4").Value = xlOn Then
UnHide_Flag = True
Does anyone know the code to use that I might use an if statement on
the shape value? Once this is coded, I already know how to change
the
names to more meaniful values.