Combo Box Inside a Form

J

Joe B.

I want to have a combo box inside a form. This is different from just having a combo box in excel that is linked to a certain range for it's values (ListFillRange in properties of ComboBox). How do I tell a combo box inside of a form what the ListFillRange is?
 
P

Patrick Molloy

set the RowSpource property to something like this:-

sheet2!B3:B5

an alternative could be using code in the form's initialise event, like
this...
for rw = 1 to 10
combobox1.AddItem mysheet.cells(rw,2)
next


--
Patrick Molloy
Microsoft Excel MVP
----------------------------------
Joe B. said:
I want to have a combo box inside a form. This is different from just
having a combo box in excel that is linked to a certain range for it's
values (ListFillRange in properties of ComboBox). How do I tell a combo box
inside of a form what the ListFillRange is?
 

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