Changing Sort

Discussion in 'Word VBA Beginners' started by David Schenkler, Aug 7, 2012.

  1. When I want to sort my lists (not numbered, but have hierarchy numbers, it will list them as follows:

    1.1
    1.1.1
    1.1.1.1
    1.2.
    1.2.3.4.5
    1.23.235
    1.3
    1.3.
    1.34.24
    1.5.1
    1.52

    Last time I checked, 23 is greater than 3 and 34 is greater than 52, etc.
    Is there a way that I can Sort this correctly? I sort by Text, because Number and Date won't work (as the hierarchies also have words after them).

    Thank you in advance,
    David Schenkler
     
    David Schenkler, Aug 7, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve

    Sort table using macro

    Steve, Aug 11, 2003, in forum: Word VBA Beginners
    Replies:
    1
    Views:
    91
    Word Heretic
    Aug 14, 2003
  2. William Eisner

    Changing Font and Font Size in Middle of Macro

    William Eisner, Aug 18, 2003, in forum: Word VBA Beginners
    Replies:
    1
    Views:
    106
    William Eisner
    Aug 19, 2003
  3. macropod

    Changing the Fields in a Form

    macropod, Aug 28, 2003, in forum: Word VBA Beginners
    Replies:
    0
    Views:
    76
    macropod
    Aug 28, 2003
  4. Richard Grene

    Changing Font

    Richard Grene, Sep 8, 2003, in forum: Word VBA Beginners
    Replies:
    1
    Views:
    99
    Harold Kless[MSFT}
    Sep 9, 2003
  5. Richard Grene

    Changing Font

    Richard Grene, Sep 8, 2003, in forum: Word VBA Beginners
    Replies:
    0
    Views:
    80
    Richard Grene
    Sep 8, 2003
  6. lotsofquestions

    Bring up Table-Sort option

    lotsofquestions, Oct 13, 2004, in forum: Word VBA Beginners
    Replies:
    0
    Views:
    63
    lotsofquestions
    Oct 13, 2004
  7. John

    Array Sort

    John, Jul 1, 2005, in forum: Word VBA Beginners
    Replies:
    10
    Views:
    150
  8. Alan in NJ

    Macro to Sort 5 Column Table

    Alan in NJ, Nov 12, 2007, in forum: Word VBA Beginners
    Replies:
    6
    Views:
    79
    Alan in NJ
    Nov 16, 2007
Loading...