Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Sam Johnson   on Mar 22 In MS Office Category.

  
Question Answered By: Ada Bailey   on Mar 22

I copied the method  SetColor incorrectly!

The actual method is:

Private Sub SetColor(cbox As ComboBox)

If cbox.Value = "Please Select" Then
cbox.BackColor = &H80FFFF
Else
cbox.BackColor = &HFFFFFF
End If

End Sub

It just doesn't like the line:

SetColor(MyComboBox1) in the Sub MyComboBox1_Change(). Any clues,
anyone?

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Passing ComboBox ActiveX Control as Parameter to Method Or get search suggestion and latest updates.


Tagged: