Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Sep 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with numbered headings in Word

    I am new to this forum and would like some help -- I read a thread in this forum on problems with numbered headings, but my problem is slightly different from the posts in the thread. I hope you can help me with a quick and simple fix so I can beat a very urgent deadline.

    I configured the heading styles and got these results:

    I. Heading 1
    1. Heading 2
    1.1 Heading 3
    2.1 Heading 3
    2. Heading 2
    3. Heading 2

    II. Heading 1
    4. Heading 2
    5. Heading 2

    III. Heading 1
    6. Heading 2
    3.1 Heading 3
    4.1Heading 3
    7. Heading 2
    5.1 Heading 3
    6.1 Heading 3

    When I tried to change the numbering, this is what I got:
    I. Heading 1
    1. Heading 2
    1.1 Heading 3
    1.2 Heading 3
    2. Heading 2
    3. Heading 2

    II. Heading 1
    4. Heading 2
    5. Heading 2

    III. Heading 1
    6. Heading 2
    1.3 Heading 3
    1.4 Heading 3
    7. Heading 2
    1.5 Heading 3
    1.6 Heading 3


    What I want is for the numbering of level 3 sub-headings to start anew, with the corresponding number in the level 2 heading as the starting number (e.g., In Chapter III, Section 7, the Sub-sections should be numbered 7.1, 7.2,7.3, etc.)

    i understand that when I used styles to have continuous/sequential numbering of the Heading 2 (Level 2), Word now thinks it should do the same for Heading 3 (Level3) and the levels below.

    Is there a quick and simple fix? I am a new user of styles and do not know how to program commands; I just use the dialog and menu options is Word.

    I am using Word 2010, and I tried modifying the number of the headings from the multi-level list drop-down menu but could not get anywhere.

    I have attached a stripped down version of the file so you can see that i have done to format the heading styles.

    I would really appreciate your help.

    Many thanks....
    Attached Files Attached Files

  2. #2
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,055
    Thanks
    2
    Thanked 417 Times in 346 Posts
    The basic problems are that you haven't:
    1. explicitly linked the numbering formats to the various heading styles; and
    2. set the setting for your Level-3 numbering 're-start' is set for Level 1 instead of Level 2.

    See attached. Some of the Heading alignments changed when I was playing around, but that's easily-enough fixed.
    Attached Files Attached Files
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts
    Problem with Numbered Sub-headings 2014-09-20.doc
    I have setup the styles as per the numbering I think you wanted. I also created it as a macro so you can apply this numbering to any existing files you have. The right aligned numbers on the lower levels is something I haven't used before and you might prefer to set these left as the alignment makes more sense when you aren't using double digit heading numbers.
    Code:
    Sub SetupHeadingNumbering()
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(1)
        .NumberFormat = "%1."
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleUppercaseRoman
        .NumberPosition = CentimetersToPoints(0)
        .Alignment = wdListLevelAlignLeft
        .TextPosition = CentimetersToPoints(1)
        .TabPosition = wdUndefined
        .ResetOnHigher = 0
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 1"
      End With
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(2)
        .NumberFormat = "%2."
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleArabic
        .NumberPosition = CentimetersToPoints(0)
        .Alignment = wdListLevelAlignLeft
        .TextPosition = CentimetersToPoints(1)
        .TabPosition = wdUndefined
        .ResetOnHigher = 0
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 2"
      End With
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(3)
        .NumberFormat = "%2.%3"
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleArabic
        .NumberPosition = CentimetersToPoints(1)
        .Alignment = wdListLevelAlignRight
        .TextPosition = CentimetersToPoints(3)
        .TabPosition = wdUndefined
        .ResetOnHigher = 2
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 3"
      End With
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(4)
        .NumberFormat = "%2.%3.%4"
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleArabic
        .NumberPosition = CentimetersToPoints(1)
        .Alignment = wdListLevelAlignLeft
        .TextPosition = CentimetersToPoints(3)
        .TabPosition = wdUndefined
        .ResetOnHigher = 3
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 4"
      End With
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(5)
        .NumberFormat = "%2.%3.%4.%5"
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleArabic
        .NumberPosition = CentimetersToPoints(1)
        .Alignment = wdListLevelAlignLeft
        .TextPosition = CentimetersToPoints(3)
        .TabPosition = wdUndefined
        .ResetOnHigher = 4
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 5"
      End With
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(6)
        .NumberFormat = "%2.%3.%4.%5.%6"
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleArabic
        .NumberPosition = CentimetersToPoints(1)
        .Alignment = wdListLevelAlignRight
        .TextPosition = CentimetersToPoints(3)
        .TabPosition = wdUndefined
        .ResetOnHigher = 5
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 6"
      End With
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(7)
        .NumberFormat = "%2.%3.%4.%5.%6.%7"
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleArabic
        .NumberPosition = CentimetersToPoints(1)
        .Alignment = wdListLevelAlignLeft
        .TextPosition = CentimetersToPoints(3)
        .TabPosition = wdUndefined
        .ResetOnHigher = 6
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 7"
      End With
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(8)
        .NumberFormat = "%2.%3.%4.%5.%6.%8"
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleArabic
        .NumberPosition = CentimetersToPoints(1)
        .Alignment = wdListLevelAlignLeft
        .TextPosition = CentimetersToPoints(3)
        .TabPosition = wdUndefined
        .ResetOnHigher = 7
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 8"
      End With
      With ListGalleries(wdOutlineNumberGallery).ListTemplates(1).ListLevels(9)
        .NumberFormat = "%2.%3.%4.%5.%6.%7.%8.%9"
        .TrailingCharacter = wdTrailingTab
        .NumberStyle = wdListNumberStyleArabic
        .NumberPosition = CentimetersToPoints(1)
        .Alignment = wdListLevelAlignRight
        .TextPosition = CentimetersToPoints(3)
        .TabPosition = wdUndefined
        .ResetOnHigher = 8
        .StartAt = 1
        .Font.Reset
        .LinkedStyle = "Heading 9"
      End With
      ListGalleries(wdOutlineNumberGallery).ListTemplates(1).Name = ""
      Selection.Range.ListFormat.ApplyListTemplateWithLevel ListTemplate:= _
        ListGalleries(wdOutlineNumberGallery).ListTemplates(1), _
        ContinuePreviousList:=True, ApplyTo:=wdListApplyToWholeList, _
        DefaultListBehavior:=wdWord10ListBehavior
    End Sub
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  4. #4
    New Lounger
    Join Date
    Sep 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by macropod View Post
    The basic problems are that you haven't:
    1. explicitly linked the numbering formats to the various heading styles; and
    2. set the setting for your Level-3 numbering 're-start' is set for Level 1 instead of Level 2.

    See attached. Some of the Heading alignments changed when I was playing around, but that's easily-enough fixed.

    Hi Macropod,

    Many thanks... I had previously linked the list styles to the heading styles, but I guess something is messing this up.

    I tried resetting the re-start number and it worked for a few of the section headings, not for all, so i hope it will get fixed if I fiddle around with it some more. It looks like your suggestion will fix the problem... Probably just some stray codes interfering with styles?

    Much appreciated...

  5. #5
    New Lounger
    Join Date
    Sep 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Andrew,

    Thanks very much! I looked at your revision and that is exactly how i wanted the numbering system to appear. I will have to learn how to use the macro so it will be easy to apply this system to other files.

    Much appreciated....

Posting Permissions

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