Results 1 to 33 of 33

Thread: Parse text file or xml into listboxes

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: Parse text file or xml into listboxes

    Quote Originally Posted by ice_531 View Post
    Also, having some trouble with your code for sorting. Some of the fields in distance will not be numbers. but the word "Unknown"
    How about instead of 'Unknown' you put in a value of minus one ? You might have to adjust the leading zero bit to account for the '-' sign (they'd then sort to the top), alternatively you could put a value greater than the radius of the earth (they'd sort to the bottom), then after the sort you could change them to 'Unknown' if required
    Last edited by Doogle; Jul 9th, 2011 at 02:30 PM.

  2. #2

    Thread Starter
    Frenzied Member ice_531's Avatar
    Join Date
    Aug 2002
    Location
    Sitting w/ Bob Status: -Next -To- Null- Friend: Philip
    Posts
    1,152

    Re: Parse text file or xml into listboxes

    Unknown worked fine with code MarkT posted above.

    Also resolved the zip code dilemma.

    Forgot about the excel .TEXT property.

    I guess I should have read the help in excel sooner and figured that out.

    Have the leading 0 issue fixed with that now
    :::`DISCLAIMER`:::
    Do NOT take anything i have posted to be truthful in any way, shape or form.
    Thank You!

    --------------------------------
    "Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
    "Finaly I can look as gay as I want..." - NoteMe
    Languages: VB6, BASIC, Java, C#. C++

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