Consulting

Results 1 to 6 of 6

Thread: Ensure numbering in multilevel lists remain setwhen working from a template

  1. #1

    Ensure numbering in multilevel lists remain setwhen working from a template

    Hello,

    Although I usually post questions on VB, this question relates to the numbering in a multilevel list within a Word template. I create templates with macros to assist our specialists - for example, they open a document based on my template and create a proposal for their client. In the template, I have created a multilevel list style with 4 levels - each level is a different level heading.
    However, often when we open a document based on the template, all the numbering changes - it retains the right level style - however, the numbering no longer follow the rules as set. For example,

    1. Level 1 heading
    1.1. Level 2 heading
    1.1.1. Level 3 heading

    The level 2 heading should pick up the preceding level 1 heading but it isn't always doing this. For example,
    The numbering in a list doesn't always start on 1. while in other places, the Level 1 heading is correct but not the level 2 headings which follow:

    3. Level 1 heading
    6.1 Level 2 heading
    6.2 Level 2 heading

    Can anyone help me stabilise these lists so that we don't have to keep fixing the numbering in every document? I previously created a 47 page Trust deed with 9 levels and these don't corrupt so I am really not sure what to do to fix this. Unfortunately, most of the users of the template on not brilliant in word hence using automated templates.

    The only difference between the development of the documents is the version of Word (I developed some on 2007 and others in 2010) - would this have an effect? I have seen when I record macros, the coding is different in the two versions of Word but whether this affects multilevel lists I have no clue.

    Thank you

    Lindsey

  2. #2
    VBAX Regular
    Joined
    Jul 2012
    Posts
    29
    Location
    Hi Lindsey

    Can you attach the template so we can run the code to create the new document please? 2010 IS different than 2007.

    janinecrutchlcom

  3. #3
    Quote Originally Posted by jec1 View Post
    Hi Lindsey

    Can you attach the template so we can run the code to create the new document please? 2010 IS different than 2007.

    janinecrutchlcom

  4. #4
    Hi Janine

    Thank you, I will. I just need to take all client information out and upload later in the day - off to my day job in a few minutes after 2 hours sleep! I have been teaching myself VB, Access, etc - basically I teach myself whatever someone asks me to do - this is fine until you get the funnies and need an expert to identify the problem, which in most cases is quite simple. This site has been a huge support to me. Until later

  5. #5
    VBAX Regular
    Joined
    Jul 2012
    Posts
    29
    Location
    Great, take your time. I would build the list in the template without vba though - one less thing to worry about. Will do a sample later today.

  6. #6
    VBAX Regular
    Joined
    Jul 2012
    Posts
    29
    Location
    Heading Levels v1.dotm.docx
    Hi Lindsey I attach a sample. I've set FONTS to Arial using the Font tab and Heading 1 is a Heading
    Headings 2-4 Are 1. 1.1. 1.1.1.
    I set Body for levels 2-4 as I was not sure you were using Headings. Just change Style for following paragraph as appropriate.
    You can start Heading from Heading 1 but I started from Heading 2.
    Let me know if you want me to change it. The List_Corporate1 is the list style to which Outline Heading 1-4 is hooked into.

    Regards
    janinecrutch.com

Tags for this Thread

Posting Permissions

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