creating combo boxes

M

Mary

Hi,
I am trying to create controls (combo boxes) at run time.
I have tried different things ans nothing seams working.

One of the things that I have tried is:

For i = 0 To 10
Load Combo5(i) -> Here I receive an error 'Type mismatch'
next

Mary
 
A

Alex Dybenko

Look at CreateControl function in online help. but you have to open form in
design mode.
also you can place enough hidden combos on the form, and then make visible
ones you need
 

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

Top