Results 1 to 3 of 3

Thread: Sort a ListBox on an Alternate Column?

  1. #1

    Thread Starter
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657

    Question

    Any of you out there know of an efficient way to sort a listbox on a column other than the first (which is what the Sorted property does)?

    For example, say the list box contains the following:
    -------------------
    ID001 - Betty
    ID002 - Charlie
    ID003 - Andy
    --------------------
    OK, I know that the name in each item begins in column 9 of the line. Is there an efficient way to sort these items so that the listbox displays:
    --------------------
    ID003 - Andy
    ID001 - Betty
    ID002 - Charlie
    --------------------
    Thanks in advance for your help.

    "It's cold gin time again ..."

    Check out my website here.

  2. #2

  3. #3

    Thread Starter
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    I probably could, but if there was a way to do it with the listbox, I would prefer that.
    "It's cold gin time again ..."

    Check out my website here.

Posting Permissions

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



Click Here to Expand Forum to Full Width