Coding to change the forecolor of a combo box

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

Guest

Hello,

I have a combo box with a list of three options - BUS, GEN, POL and SOC. I
am unable to get the code right for setting the forecolor property of the
combo box when the selected option is not GEN.

Please review the code below and advice.

Regards.

If cboFr_Act <> "GEN" Then
cboFr_Act.ForeColor = 255
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