Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Array to Populate ListBox Problem

I have a dynamic array that has two columns, i.e. myarray(7,0)

Reading up on dynamic arrays, it seems like only the last column can
be expanded.

I'd like to populate a listbox using the array, hence something like:

entry.listbox = myarray

Only when this is done, it's the first column that's entered in the
listbox, but I want the second column to be the one to populate the
listbox. I could break it up into two arrays rather than one (and
actually have), but am still curious to see if this is possible.

Thanks. -np
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Array to Populate ListBox Problem

Hi,
Are you intending to populate 1 list box & on the basis of that populate
other listbox?
Just yday, I created something similar for some 1 in the forum & it worked
for him ( & this uses dynamic arrays)

Download the file from rapidshare. I've used a combobox in this example,
which will work fine even for a listbox.

http://rapidshare.com/files/132101437/Book1.xls.html

If yu want to read more the question posted, check the link below
http://www.microsoft.com/office/comm...d-0652a58ec25f

HTH,
--
Tausif Mohammed


"pallaver" wrote:

I have a dynamic array that has two columns, i.e. myarray(7,0)

Reading up on dynamic arrays, it seems like only the last column can
be expanded.

I'd like to populate a listbox using the array, hence something like:

entry.listbox = myarray

Only when this is done, it's the first column that's entered in the
listbox, but I want the second column to be the one to populate the
listbox. I could break it up into two arrays rather than one (and
actually have), but am still curious to see if this is possible.

Thanks. -np

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
Populate an array that is a subset of a larger array? Jeff Excel Worksheet Functions 1 September 25th 07 12:51 AM
listbox B conditional of input in Listbox A Kim K Excel Discussion (Misc queries) 1 October 31st 06 08:27 PM
Problem using INDEX to select items in listbox Shazbot Excel Discussion (Misc queries) 3 April 28th 06 09:06 AM
Listbox Problem browie Excel Discussion (Misc queries) 5 August 22nd 05 02:03 PM
Listbox problem browie Excel Discussion (Misc queries) 1 August 22nd 05 11:44 AM


All times are GMT +1. The time now is 01:13 PM.

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

About Us

"It's about Microsoft Excel"