How to put text in a listbox heads ?

Tried to find in help but to no avail.
listbox.heads = True
listbox.column = 8

but how to put some text in the headers.

Thanks.....


Answer this question

How to put text in a listbox heads ?

  • Rogermon

    Using office 2000 on Windows XP
  • HansVonkeman

    Hi Michael,

    Which version of Excel are you using If you could provide some additional details I can escalate this to our support team.

    thanks,
    -brenda (ISV Buddy Team)

  • MadNes

    Hi Michael,

    The support engineer found the following...

    I have setup up a office 2000 machine for this case. And do test on ListBox control.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

    First, ListBox control has a property ColumnHeads, we can set it as true, then the list box will show header for each column. But this won’t show column header when you use code to insert data.

    So there is only work around: Use a label instead of listbox header.



    -brenda (ISV Buddy Team)

  • How to put text in a listbox heads ?