Userform ListBox - Display a Tick if Condition is Met

Boffa

New Member
Joined
May 8, 2019
Messages
27
Is it possible in a ListBox that has its row source from a spreadsheet that it can display a symbol like a Tick if the value in the row source was the value "YES" for example ?

I have a column that will only have the value YES or No and would like to display a Tick or Cross rather than the actual word YES or NO

There are other columns in the listbox that will display as per the values in the spreadsheet but for two columns id like to display a Tick or Cross for the values are Yes or No

Is this Possible ?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hello Boffa,

The RowSource property makes using a ListBox easy but also prevents you making changes to ListBox's data directly through VBA. The other problem is the ANSI character set does not have a tick mark. You need to use a font that supports Unicode characters.

You can still use the ListBox, just not with the RowSource property. You will have to do the work yourself using code.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,020
Messages
6,122,712
Members
449,093
Latest member
Mnur

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