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?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Steve

    Sort table using macro

    Steve, Aug 11, 2003, in forum: Word VBA Beginners
    Replies:
    1
    Views:
    113
    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:
    130
    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:
    95
    macropod
    Aug 28, 2003
  4. Richard Grene

    Changing Font

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

    Changing Font

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

    Bring up Table-Sort option

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

    Array Sort

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

    Macro to Sort 5 Column Table

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