+ Reply to Thread
Results 1 to 4 of 4

Listbox column headers when data is collected in an array

  1. #1
    Forum Contributor
    Join Date
    02-12-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    275

    Listbox column headers when data is collected in an array

    I want to apply the column headers to a listbox see the previous http://www.excelforum.com/excel-prog...es-please.html

    The
    Please Login or Register  to view this content.
    is set and the header boxes appear but the boxes are empty.

    Please help.

  2. #2
    Forum Contributor
    Join Date
    02-12-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    275

    Re: Listbox column headers when data is collected in an array

    Here is the combined file with the missing headers.

    List Box History (1).xlsm

    Thanks

  3. #3
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Listbox column headers when data is collected in an array

    you can only use column headers if the source data is in a range and you use the listfillrange property (the row above the listfillrange will be used).
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  4. #4
    Forum Contributor
    Join Date
    02-12-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    275

    Re: Listbox column headers when data is collected in an array

    Wow, something excel can not do.
    Thanks.

    So I can not have the easy column headers but I WILL have them my way then

    I stretched the data array to include the header and jump to the data population part of the code.

    here is the modified part

    Please Login or Register  to view this content.
    Thanks for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1