Hi There,
Hopefully an easy one for someone...
What code do I use in Excel vba to do an if/then statement depending on whether an option button is checked or not?
My optionbutton is called "ob1" and it's in sheet "Vary".
I tried
If Sheets("Vary").Shapes("ob1").Value = True Then
But it gives the error "object doesn't support this property or method"
Thanks!
Hopefully an easy one for someone...
What code do I use in Excel vba to do an if/then statement depending on whether an option button is checked or not?
My optionbutton is called "ob1" and it's in sheet "Vary".
I tried
If Sheets("Vary").Shapes("ob1").Value = True Then
But it gives the error "object doesn't support this property or method"
Thanks!