ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Referring to Option Button in If then statement (https://www.excelbanter.com/excel-discussion-misc-queries/187853-referring-option-button-if-then-statement.html)

Mike

Referring to Option Button in If then statement
 
I'm sure this is a very basic question, but I can't seem to find the answer
in Excel Help. How to I reference an option button in an if then formula?

Any help would be appreciated.

Mike

Dave Peterson

Referring to Option Button in If then statement
 
You can link the optionbutton to a cell and then use that cell in your formula.

If the optionbutton is from the Forms toolbar:
rightclick on it
choose Format Control|Control Tab
and type in an address into that Cell link box.

If the optionbutton is from the Control toolbox toolbar, then go into design
mode (also on that same toolbar).

Then rightclick on it and choose properties and change the LinkedCell property.

Mike wrote:

I'm sure this is a very basic question, but I can't seem to find the answer
in Excel Help. How to I reference an option button in an if then formula?

Any help would be appreciated.

Mike


--

Dave Peterson

Mike

Referring to Option Button in If then statement
 


"Dave Peterson" wrote:

You can link the optionbutton to a cell and then use that cell in your formula.

If the optionbutton is from the Forms toolbar:
rightclick on it
choose Format Control|Control Tab
and type in an address into that Cell link box.

If the optionbutton is from the Control toolbox toolbar, then go into design
mode (also on that same toolbar).

Then rightclick on it and choose properties and change the LinkedCell property.

Mike wrote:

I'm sure this is a very basic question, but I can't seem to find the answer
in Excel Help. How to I reference an option button in an if then formula?

Any help would be appreciated.

Mike


--

Dave Peterson


Mike

Referring to Option Button in If then statement
 
It worked!

Thanks Dave.

"Dave Peterson" wrote:

You can link the optionbutton to a cell and then use that cell in your formula.

If the optionbutton is from the Forms toolbar:
rightclick on it
choose Format Control|Control Tab
and type in an address into that Cell link box.

If the optionbutton is from the Control toolbox toolbar, then go into design
mode (also on that same toolbar).

Then rightclick on it and choose properties and change the LinkedCell property.

Mike wrote:

I'm sure this is a very basic question, but I can't seem to find the answer
in Excel Help. How to I reference an option button in an if then formula?

Any help would be appreciated.

Mike


--

Dave Peterson



All times are GMT +1. The time now is 07:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com