Option Button in Userform Populates "formatted" Text

Gordo24

New Member
Joined
Apr 19, 2011
Messages
43
I'm wondering when a user makes their selection via option button in a user form, is it possible to have it populate text that has multiple formatting properties (need a bullet & bold font). For example, I would like the end result from the user's selection to be appear as follows:

  • HEADING: I need my result to populate as it appears here with the bullet and the heading title in bold font.
Of course the all caps portion and remaining text is standard, it's the bullet and bold font of the heading I'm wondering about.

Private Sub cmdOK_Click()
Dim Direction As String
If East = True Then Direction = "formatted text here"
If West = True Then Direction = "formatted text here"

Hopefully that makes sense. Not sure this is possible, but I've been surprised before.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,213,524
Messages
6,114,117
Members
448,549
Latest member
brianhfield

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