How to Change or Remove the Blue Highlight at Combobox Selected Item? RRS feed

  • Question

  • Hi

    Can you please let me know how I can change or get rid of the "BLUE" highlight color on controls like Combobox selected Item in UserForm?

    Thanks for your time

    Thursday, November 15, 2012 5:04 AM

All replies

  • As far as I know, that's a Windows setting:

    • Right-click the desktop.
    • Select Personalize.
    • Click Window Color.
    • The "Selected Items" item specifies the color of, you guess it, selected items.

    As a developer, you shouldn't interfere with the user's system settings.

    Regards, Hans Vogelaar

    Thursday, November 15, 2012 8:31 AM
  • Thanks Hans, but if I remember correctly in C# there was a method like focusout() whch helps to remove the highlited color frm selection in list box or combobox.I was wondering if we have something like that in VBA too?

    Thanks again

    Thursday, November 15, 2012 7:58 PM
  • Perhaps there's a Windows API way to do that, but I can't help you with that. Sorry.

    Regards, Hans Vogelaar

    Thursday, November 15, 2012 8:25 PM