Entries of ComboBox with Color

  • Thread starter Thread starter pallaver
  • Start date Start date
P

pallaver

So looking at the archives, it seems like only the entire line entry
to a ComboBox can have it's color changed. I'm trying to entire in
"TEMP ”" where the square block after temp is either red or blue...

Is there a way to have it be red or blue within the ComboBox?

Is a case select method the only way to input colors into the line
entries of a ComboBox? Anybody have example code for that they could
copy/paste for me to use/modify?

Thanks, np
 
For those curious:

This is what I've got right now to at least let the user know which
color the square is on the excel spreedsheet.
Ideally I'd like it to read TEMP in black, with a red square next to
it, but the possibility of that is looking... grim.

-----------------

If Sheets("Sheet1").Cells(ItemRow, ItemColumn + 1).Font.ColorIndex = 5
Then
CurrentItemAdditionalInfo = Trim(CurrentItemAdditionalInfo) +
"(BLUE)"
End If
If Sheets("Sheet1").Cells(ItemRow, ItemColumn + 1).Font.ColorIndex = 3
Then
CurrentItemAdditionalInfo = Trim(CurrentItemAdditionalInfo) +
"(RED)"
End If
 

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