setting rowsource to a dynamic range in design mode

  • Thread starter Thread starter akh2103
  • Start date Start date
A

akh2103

Is it possible to change a listbox's rowsource property equal to a
dynamic range using a variable in design mode? If so, how does one do
so? Thanks, Abe
 
Insert Name Define

Name:= ListA

Refersto:= =Offset(Sheet1!$A$1,1,0,counta($A:$A)-1,1)

click ADD


then in the rowsource property type in

ListA
 
Hi Tom--Thanks for your help, but I am still missing something. I have
programmatically defined the name in the initialize routine of the
userform and then typed the name ("list A") into the rowsource property
but nothing is happening. I have changed the name to refer to a certain
range on the active sheet, so perhaps that is the root of the trouble.
Any ideas?
 
Nevermind, I have solved the trouble. Rowsource takes the info in
certain rows (duh!) and I need info for certain column headings.
 

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

Combobox Rowsource 2
RowSource 4
Dynamic rowsource for ComboBox 6
Set RowSource 3
ComboBox RowSource Dynamic 14
named range as rowsource 15
RowSource property in cbox 3
ListBox RowSource Property 2

Back
Top