Combo box variables

D

Doo-Dah Man

Hi,

How do I assign a variable to the combobox name property? For
example, I am trying to do this:

dim strComboName as string
strComboName = cbo1.Name
strComboName.RowSource = "some list"

I have many combo boxes and I want to set the name with a variable. I
have tried various combinations trying to concatenate the variable
with the rest of the .RowSource property to no avail.


Any suggestions?

Thanks!
 
Top