G Guest Mar 24, 2004 #1 How do you you determine an optionbuttoms status from code? i.e. Is it true or fals Bruce
W William Mar 24, 2004 #2 Hi Bruce Sub test() With ActiveSheet.DrawingObjects("Option Button 2") If .Value = 1 Then MsgBox "Its true" Else MsgBox "Its false" End If End With End Sub -- XL2002 Regards William (e-mail address removed) | How do you you determine an optionbuttoms status from code? i.e. Is it true or false | | Bruce
Hi Bruce Sub test() With ActiveSheet.DrawingObjects("Option Button 2") If .Value = 1 Then MsgBox "Its true" Else MsgBox "Its false" End If End With End Sub -- XL2002 Regards William (e-mail address removed) | How do you you determine an optionbuttoms status from code? i.e. Is it true or false | | Bruce