Userform ListBox - Display a Tick if Condition is Met

Boffa

New Member
Joined
May 8, 2019
Messages
13
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 ?
 

Leith Ross

Well-known Member
Joined
Mar 17, 2008
Messages
1,872
Office Version
2010, 2007
Platform
Windows
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:

Forum statistics

Threads
1,082,601
Messages
5,366,571
Members
400,902
Latest member
fathima

Some videos you may like

This Week's Hot Topics

Top