Display text based on Option Button selected

james.geren

New Member
Joined
Oct 27, 2005
Messages
12
How can I assign a cell to display a text comment based on 1 of 2 option buttons selected? If ythe other option button is selected then a different comment is displayed. I got it to work by linking to a cell outside of my print area, and then doing an iff statement to that linked cell such that "if(AA1 = 1,"Comment 1","Comment 2") but i think there is a more effective way to do this.

Also, is there any way to remove the box around an option group box?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
James,

to my sense the only other way is using code
the way you proceeded looks the best to me

removing line around box is not possible to my knowledge
you can group option buttons from the controls toolbar (shift click and assign groupname within the properties) without a box

kind regards,
Erik
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,998
Messages
5,834,802
Members
430,322
Latest member
excelnoobnoob

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top