Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I want to fill some data in a Listbox throug listbox.column() = array. It works fine, but vba does not recognise, that it should take the first row from the array as columnheads. I switched the columnheads property on by code, but there was no difference. Does anybody know how to fill in the columnheads manually? greez and thx masterphilch |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() as far as i remember columnsheads works only for ranges .. and then shows the row ABOVE the rowsource. -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam masterphilch wrote : Hi I want to fill some data in a Listbox throug listbox.column() = array. It works fine, but vba does not recognise, that it should take the first row from the array as columnheads. I switched the columnheads property on by code, but there was no difference. Does anybody know how to fill in the columnheads manually? greez and thx masterphilch |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You do not include the headings in the array, and you set the Rowsource
property. So if the data is in A1:C10, and row 1 is headings, set ColumnCount, set ColumnHeadings, and set RowSource to A2:C10. -- HTH Bob Phillips "masterphilch" wrote in message ... Hi I want to fill some data in a Listbox throug listbox.column() = array. It works fine, but vba does not recognise, that it should take the first row from the array as columnheads. I switched the columnheads property on by code, but there was no difference. Does anybody know how to fill in the columnheads manually? greez and thx masterphilch |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
listbox B conditional of input in Listbox A | Excel Discussion (Misc queries) | |||
Multicolumn Listbox and ordinary listbox | Excel Programming | |||
listbox.value not equal to listbox.list(listbox.listindex,0) | Excel Programming | |||
Is refreshing listbox rowsource in listbox click event possible? | Excel Programming | |||
Sorting ListBox results or transposing ListBox values to other cells for sorting | Excel Programming |