PDA

View Full Version : Ensure numbering in multilevel lists remain setwhen working from a template



PicklePBFH
11-25-2013, 06:14 PM
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

jec1
11-25-2013, 08:49 PM
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

PicklePBFH
11-25-2013, 09:23 PM
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

PicklePBFH
11-25-2013, 09:28 PM
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

jec1
11-26-2013, 02:29 PM
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.

jec1
11-27-2013, 01:17 AM
10874
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