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

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
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
 
Upvote 0

Forum statistics

Threads
1,216,514
Messages
6,131,105
Members
449,619
Latest member
AntoineMaubon

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
Back
Top