Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default help with rowsource

I have a form with a listbox. Before opening the form I create a public
array. I want to use the array as the rowsource for the listbox.

MyForm.Listbox1.RowSource = MyArray

does not work.

How do I do that?

TIA

Glen


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default help with rowsource

You don't use the rowsource

MyForm.Listbox1.List = MyArray

--
Regards,
Tom Ogilvy

"GMet" wrote in message
...
I have a form with a listbox. Before opening the form I create a public
array. I want to use the array as the rowsource for the listbox.

MyForm.Listbox1.RowSource = MyArray

does not work.

How do I do that?

TIA

Glen




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default help with rowsource

What do I use?


"Tom Ogilvy" wrote in message
...
You don't use the rowsource

MyForm.Listbox1.List = MyArray

--
Regards,
Tom Ogilvy

"GMet" wrote in message
...
I have a form with a listbox. Before opening the form I create a public
array. I want to use the array as the rowsource for the listbox.

MyForm.Listbox1.RowSource = MyArray

does not work.

How do I do that?

TIA

Glen






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 253
Default help with rowsource

Hi,

something like listbox1.List = myArray
Regards,
JY

"GMet" wrote in message
...
I have a form with a listbox. Before opening the form I create a public
array. I want to use the array as the rowsource for the listbox.

MyForm.Listbox1.RowSource = MyArray

does not work.

How do I do that?

TIA

Glen




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default help with rowsource

I gave you the proper code.

--
Regards,
Tom Ogilvy

"GMet" wrote in message
...
What do I use?


"Tom Ogilvy" wrote in message
...
You don't use the rowsource

MyForm.Listbox1.List = MyArray

--
Regards,
Tom Ogilvy

"GMet" wrote in message
...
I have a form with a listbox. Before opening the form I create a

public
array. I want to use the array as the rowsource for the listbox.

MyForm.Listbox1.RowSource = MyArray

does not work.

How do I do that?

TIA

Glen








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
combobox rowsource Newbie Excel Programming 1 September 8th 04 12:21 PM
Using IF, Then with rowsource? CAA[_23_] Excel Programming 8 April 4th 04 08:56 PM
RowSource Problem Todd Huttenstine[_2_] Excel Programming 1 January 20th 04 04:09 AM
RowSource in ListBox aet-inc[_2_] Excel Programming 1 December 3rd 03 12:41 AM
listbox rowsource Christy[_2_] Excel Programming 4 September 20th 03 11:44 PM


All times are GMT +1. The time now is 01:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"