View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave Taylor Dave Taylor is offline
external usenet poster
 
Posts: 1
Default ComboBox and 2 Dim array


Hi all, new to this forum

Question

I can set up a 2 dimensional array by using

array = Workbooks("Workbook.xls").Worksheets("Data").Range ("D_all")

where range "D-all" contains 2 columns and 20 rows

I can send that list to a combo box by using

Me.ComboBox1.List() = array

If I have ColumnCount set to 2 then both columns will be listed

If I have ColumnCount set to 1 then the 1st column will be listed

But how do I list just the second column.

Regards, Dav

--
Dave Taylo
-----------------------------------------------------------------------
Dave Taylor's Profile: http://www.excelforum.com/member.php...fo&userid=1513
View this thread: http://www.excelforum.com/showthread.php?threadid=26770