PDA

Click to See Complete Forum and Search --> : [RESOLVED] Can we:- Use Option button with "if"


satti charvak
Dec 7th, 2005, 05:25 AM
Hi,
I want to extract the value of a option button (radio button) using the "if" formula in excel.

The basic issue is, I don't want to enable macros and also want to know if a option button is selected or not.

Can this be done anyhow.

Thanks you
Satti Charvak

Hack
Dec 7th, 2005, 06:06 AM
If Option1.Value = True
'it has been selected...do something
End If

satti charvak
Dec 7th, 2005, 11:11 PM
Thanks Hack for your reply but I guess you haven't understood my query completely.

That was a VB code (used only for macro).

I wanted to know if something like:-

=IF(Option2.Value=TRUE,"True","False") 'A formulae based thing in a cell

works in excel.

Kind Regards
Satti charvak

Ps:- Also, if possible please move this query to office development, I've wrongly placed this in database development.

si_the_geek
Dec 8th, 2005, 01:22 PM
Moved

VB4fun
Dec 8th, 2005, 02:48 PM
Try Using Properties\Linked Cell, set the cell to one you are not using.

Then do your test on the linked cell value.

satti charvak
Dec 14th, 2005, 12:20 AM
that was very nice