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!
 

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

Similar Threads


Top