Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
First, I would like to sa thanks to the MVP's for their help thusfar.
Dick Kusleika explained to me that I can't utililize both an array and a rowsource when creating a multi-column listbox that can reorder. And I finally understand why. But I am having trouble using the additem function to fill the multiple columns. I have approxiamately 25 rows and 13 columns to load into the box. Any help would be greatly appreciated. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Combobox1.columnCount = 13
for each cell in Range("A1:A25") combobox1.AddItem cell.Value for j = 1 to 12 combobox1.List(combobox1.Listcount - 1, j) = cell.offset(0,j) Next Next or Combobox1.Columncount = 13 Combobox1.List = Range("A1:M25").Value -- Regards, Tom Ogilvy "asmenut" wrote in message ... First, I would like to sa thanks to the MVP's for their help thusfar. Dick Kusleika explained to me that I can't utililize both an array and a rowsource when creating a multi-column listbox that can reorder. And I finally understand why. But I am having trouble using the additem function to fill the multiple columns. I have approxiamately 25 rows and 13 columns to load into the box. Any help would be greatly appreciated. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom.
"Tom Ogilvy" wrote: Combobox1.columnCount = 13 for each cell in Range("A1:A25") combobox1.AddItem cell.Value for j = 1 to 12 combobox1.List(combobox1.Listcount - 1, j) = cell.offset(0,j) Next Next or Combobox1.Columncount = 13 Combobox1.List = Range("A1:M25").Value -- Regards, Tom Ogilvy "asmenut" wrote in message ... First, I would like to sa thanks to the MVP's for their help thusfar. Dick Kusleika explained to me that I can't utililize both an array and a rowsource when creating a multi-column listbox that can reorder. And I finally understand why. But I am having trouble using the additem function to fill the multiple columns. I have approxiamately 25 rows and 13 columns to load into the box. Any help would be greatly appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reordering with Multicolumn Listbox | Excel Programming | |||
Multicolumn Listbox and ordinary listbox | Excel Programming | |||
populating multicolumn listbox with an array instead of... | Excel Programming | |||
Populating multicolumn listbox the wrong way | Excel Programming | |||
multicolumn Listbox and textalignment | Excel Programming |