![]() |
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 |
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 |
All times are GMT +1. The time now is 01:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com