Results 1 to 2 of 2

Thread: sorting listbox at column ...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Ruinen, Drente, Netherlands
    Posts
    192
    Can I, and how can I sort a listbox by starting at, say column 10 ?

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Location
    O!
    Posts
    1,177
    Assuming you already know how to sort arrays, then just use the Mid$ function for what ever length of text you want to sort on.

    For example:

    If Mid$(ListBox1.List(subscript), 10, complen) > _
    Mid$(ListBox1.List(subscript+1), 10, complen)

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