Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Capturing YES/NO from two option buttons

Not really sure if the Subject line will match my question.
I have a bunch of options buttons in an excel worksheet. I used the control
toolbox option buttons and in in caption i entered YES and NO according to
the option buttons. I linked the value to a cell in another worksheet that
will capture the value of the option button when checked. I grouped the
YES/NO buttons and when I click one button the other one looses its black
dot, and so on.
Basically I need to know how I can capture the value of the answer in a cell.
I tried this formula on a cell in the capture sheet
"=IF(C2="TRUE","YES","NO")"
But when the value of C2=TRUE the answer is NO, and if it is FALSE, the
answer is still NO. HElp. I am going in circles.. Thankyou.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 449
Default Capturing YES/NO from two option buttons

Hi

Remove the qoutes around "TRUE". "TRUE" is a word, TRUE is a logical value,

HTH. Best wishes Harald

"Memphis" wrote in message
...
Not really sure if the Subject line will match my question.
I have a bunch of options buttons in an excel worksheet. I used the
control
toolbox option buttons and in in caption i entered YES and NO according to
the option buttons. I linked the value to a cell in another worksheet that
will capture the value of the option button when checked. I grouped the
YES/NO buttons and when I click one button the other one looses its black
dot, and so on.
Basically I need to know how I can capture the value of the answer in a
cell.
I tried this formula on a cell in the capture sheet
"=IF(C2="TRUE","YES","NO")"
But when the value of C2=TRUE the answer is NO, and if it is FALSE, the
answer is still NO. HElp. I am going in circles.. Thankyou.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Capturing YES/NO from two option buttons

Try this:
=IF(C2=TRUE,"YES","NO")

Drop four quote marks.

HTH,
Ryan---
--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Harald Staff" wrote:

Hi

Remove the qoutes around "TRUE". "TRUE" is a word, TRUE is a logical value,

HTH. Best wishes Harald

"Memphis" wrote in message
...
Not really sure if the Subject line will match my question.
I have a bunch of options buttons in an excel worksheet. I used the
control
toolbox option buttons and in in caption i entered YES and NO according to
the option buttons. I linked the value to a cell in another worksheet that
will capture the value of the option button when checked. I grouped the
YES/NO buttons and when I click one button the other one looses its black
dot, and so on.
Basically I need to know how I can capture the value of the answer in a
cell.
I tried this formula on a cell in the capture sheet
"=IF(C2="TRUE","YES","NO")"
But when the value of C2=TRUE the answer is NO, and if it is FALSE, the
answer is still NO. HElp. I am going in circles.. Thankyou.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Capturing YES/NO from two option buttons

Thank you so much for your response, this was what I needed.
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/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
Option buttons: How to get the selected option from a group? naddad Excel Programming 5 December 21st 05 05:09 PM
Navigating between option buttons is not selecting the option drhalter Excel Programming 1 June 3rd 05 02:28 PM
Navigating between option buttons is not selecting the option Gixxer_J_97[_2_] Excel Programming 4 June 2nd 05 02:50 PM
Option Buttons Patrick Simonds Excel Programming 4 January 20th 05 04:55 AM


All times are GMT +1. The time now is 07:05 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"