#1   Report Post  
Posted to microsoft.public.excel.misc
AMS AMS is offline
external usenet poster
 
Posts: 6
Default Excel Option buttons

How do I auto check an option button based on the state of another cell from
a different sheet? i.e. Cell = true, option button = true, cell = false,
option utton = false.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default Excel Option buttons

Right-click on the option button, then select Properties. In the Properties
box, enter the desired sheet & cell next to 'Linked Cell'. For example,
Sheet2!B10. You must put an exclamation point (!) between the sheet name and
cell address. Also, if the sheet name contains a space, you must enclose it
in single quotes ('My Sheet'!B10).

When the linked cell has any value except zero or FALSE, the option button
will be TRUE. It the cell is zero or FALSE, the option button will be FALSE.
It the cell is empty, the option button will be grayed out.

Hope this helps,

Hutch

"AMS" wrote:

How do I auto check an option button based on the state of another cell from
a different sheet? i.e. Cell = true, option button = true, cell = false,
option utton = false.


  #3   Report Post  
Posted to microsoft.public.excel.misc
AMS AMS is offline
external usenet poster
 
Posts: 6
Default Excel Option buttons

I apologize...the linked cell controling the option button is text (yes/no
selection). Can text activate/deactivate an option box?

"Tom Hutchins" wrote:

Right-click on the option button, then select Properties. In the Properties
box, enter the desired sheet & cell next to 'Linked Cell'. For example,
Sheet2!B10. You must put an exclamation point (!) between the sheet name and
cell address. Also, if the sheet name contains a space, you must enclose it
in single quotes ('My Sheet'!B10).

When the linked cell has any value except zero or FALSE, the option button
will be TRUE. It the cell is zero or FALSE, the option button will be FALSE.
It the cell is empty, the option button will be grayed out.

Hope this helps,

Hutch

"AMS" wrote:

How do I auto check an option button based on the state of another cell from
a different sheet? i.e. Cell = true, option button = true, cell = false,
option utton = false.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default Excel Option buttons

I think the easiest way is to pick a cell that's out of the way (maybe in a
hidden column or row). Put an IF formula in that cell which returns 1 or 0
based on the yes/no text in the other cell. For example:

=IF(B7="yes",1,0)

Make the cell with the IF function the linked cell for the option button,
instead of the yes/no cell.

Hope this helps,

Hutch

"AMS" wrote:

I apologize...the linked cell controling the option button is text (yes/no
selection). Can text activate/deactivate an option box?

"Tom Hutchins" wrote:

Right-click on the option button, then select Properties. In the Properties
box, enter the desired sheet & cell next to 'Linked Cell'. For example,
Sheet2!B10. You must put an exclamation point (!) between the sheet name and
cell address. Also, if the sheet name contains a space, you must enclose it
in single quotes ('My Sheet'!B10).

When the linked cell has any value except zero or FALSE, the option button
will be TRUE. It the cell is zero or FALSE, the option button will be FALSE.
It the cell is empty, the option button will be grayed out.

Hope this helps,

Hutch

"AMS" wrote:

How do I auto check an option button based on the state of another cell from
a different sheet? i.e. Cell = true, option button = true, cell = false,
option utton = false.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Option buttons on excel and macros shezzer_1972 Excel Discussion (Misc queries) 1 March 6th 07 04:24 PM
Option Buttons in Excel 2000 LPS Excel Worksheet Functions 6 January 8th 07 08:41 PM
selecting using option buttons in excel stedroyf Excel Worksheet Functions 0 November 3rd 06 09:01 PM
Excel Option Buttons Mar Excel Discussion (Misc queries) 2 November 3rd 05 05:13 PM
Excel option buttons Tosty Excel Discussion (Misc queries) 2 February 12th 05 04:13 PM


All times are GMT +1. The time now is 01:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"