Conditionally Formatting lines in a ListBox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to change the colour of certain lines in a listbox?

For example, if a date is less than Date(), then highlight that particular
line in Red, otherwise leave it as default colour.

My listbox consists of 5 columns, with various details but the identifying
condition to look for is the Expiration date being less than todays date.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top