put array into listbox as rowsource

  • Thread starter Thread starter Jesper F
  • Start date Start date
J

Jesper F

I'd like to put a 2-dimensional array into a listbox as the rowsource - is
that possible without looping the array and creating a very long text
string?

Jesper
 
Jesper said:
I'd like to put a 2-dimensional array into a listbox as the rowsource - is
that possible without looping the array and creating a very long text
string?


You can do that by using user defined function call in the
box's RowSourceType property. Check VBA Help for all the
details.
 
I'd like to put a 2-dimensional array into a listbox as the rowsource - is
You can do that by using user defined function call in the
box's RowSourceType property. Check VBA Help for all the
details.

Thanks, I didn't know that. It's looks a bit complicated, but I'll see I can
get it to work.
Otherwise I may come back here.

Jesper
 

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

Back
Top