Numbering not resetting to 1 with new list

B

Bothell writer

I created a list scheme (List 1 style is the Top level, List 2 style is
Level 2 (a.), List 3 style is Level 3 ii., etc.) using Shauna Kelly's
"How to create numbered headings or outline numbering in your Microsoft
Word document." Now when I go to apply it, the first number in one
particular list is set to 8.

I've checked the styles, and my Level 1 is set to start at 1, and each
of the Lower levels are set to restart the numbering. I linked each
level to its corresponding style and I set each style to restart
numbering after its higher level style.

Would I be better off basing my numbering scheme on an existing list
style in the document? I began with a 300-page manual that had several
different numbering styles, in addition to numbering sequences manually
formatted (so they show up in my Formatting pane with no paragraph
marker).

I planned to replace all these old styles with my new numbering styles,
but haven't done that yet because of this problem. My assignment is
to clean up the styles and create a new style sheet. I thought by
creating a brand-new style and replacing all previous numbered
paragraphs with the new style, I'd run into the fewest number of
problems.

Do I need to end each list with the LISTNUM field "LISTNUM \l 1 \s 0",
as I've seen posted elsewhere? Shauna's instructions were so
thorough, but she never mentioned that. This is a procedural manual so
there are 100's of numbered lists.

Alternatively, is it advised (as I've also seen posted) to set Level
1 to no number at all and base Level 2 on Level 1 and to start at 1?
Again, Shauna didn't mention that was necessary in order to get the
numbering scheme correct.

Please advise. I've had problems in the past with numbering when
using previous versions of Word, so I thought by following Shauna's
excellent instructions, everything would turn out fine and I wouldn't
have any more hassles.
 
J

John McGhie [MVP - Word and Word Macintosh]

Ewww... :)

You're getting confused between three different (mutually exclusive) forms
of numbering.

My pick is that your problem is caused by setting the beginning of the list
to "Continue Previous List". If that's on, that's what it will do.

Try these macros:

Sub ApplyListNumber()
' Aplies List Number style and restarts numbering
' Macro written 1 Aug 2002 by John McGhie

'Call CheckListTemplate

Call RemoveTyped

With myRange.Paragraphs
.Style = wdStyleListNumber
If .Item(1).Range.ListFormat.ListTemplate Is Nothing Then End
With .First.Range.ListFormat
.ApplyListTemplate .ListTemplate, False
End With
With .Last
.KeepWithNext = False
.SpaceAfter = 10
End With
End With
End Sub

Sub ApplyTableNumber()
' Aplies List Number style and restarts numbering
' Macro written 1 Aug 2002 by John McGhie

'Call CheckListTemplate

Call RemoveTyped

With myRange.Paragraphs
.Style = "Table Number"
With .First.Range.ListFormat
.ApplyListTemplate .ListTemplate, False
End With
With .Last
.KeepWithNext = False
.SpaceAfter = 4
End With
End With
End Sub

Sub RemoveTyped()
' Strips character junk from the front of the line
Dim intCount As Integer
Dim myChar As String
Dim bCheck As Boolean

Set myRange = Selection.Range

For Each aPara In myRange.Paragraphs
intCount = 0 ' stops run-away loops
While intCount < 20 And aPara.Range.Start < aPara.Range.End - 2
myChar = aPara.Range.Characters(1).Text
If myChar Like "[0-9]" Or _
myChar Like "[A-Z]" Or _
myChar Like "[a-z]" Then
' Do nothing
Else
aPara.Range.Characters(1).Delete
End If
intCount = intCount + 1
Wend
Next aPara

End Sub

Sub RestartNumber()
With Selection.Paragraphs
If .Item(1).Range.ListFormat.ListTemplate Is Nothing Then End
With .Item(1).Range.ListFormat
.ApplyListTemplate .ListTemplate, False
End With
End With
End Sub

Sub ContinueNumber()
With Selection.Paragraphs
With .Item(1).Range.ListFormat
.ApplyListTemplate .ListTemplate, True
End With
End With
End Sub

To answer your other questions:

A) You do not need a LISTNUM field unless you are using LISTNUM numbering.
Putting it in will simply print an unrelated number.

B) > Alternatively, is it advised (as I've also seen posted) to set Level
1 to no number at all and base Level 2 on Level 1 and to start at 1?
Again, Shauna didn't mention that was necessary in order to get the
numbering scheme correct.

Yes, if you're using the Margaret Aldis method. No if you're using the
Shauna Kelly method. Margaret's method relies on "Restart on higher" being
set to restart after List 1 if you are using this method. You need to know
what you're doing and completely understand the mechanism.

For what it's worth, I don't build my own list styles, I customise the
built-in ones, and that's what I recommend to you, too.

Don't create new styless and apply them, adjust the existing styles to the
formatting you want. That's the way styles are supposed to work (that's
what they are FOR!) :)

Hope this helps

I created a list scheme (List 1 style is the Top level, List 2 style is
Level 2 (a.), List 3 style is Level 3 ii., etc.) using Shauna Kelly's
"How to create numbered headings or outline numbering in your Microsoft
Word document." Now when I go to apply it, the first number in one
particular list is set to 8.

I've checked the styles, and my Level 1 is set to start at 1, and each
of the Lower levels are set to restart the numbering. I linked each
level to its corresponding style and I set each style to restart
numbering after its higher level style.

Would I be better off basing my numbering scheme on an existing list
style in the document? I began with a 300-page manual that had several
different numbering styles, in addition to numbering sequences manually
formatted (so they show up in my Formatting pane with no paragraph
marker).

I planned to replace all these old styles with my new numbering styles,
but haven't done that yet because of this problem. My assignment is
to clean up the styles and create a new style sheet. I thought by
creating a brand-new style and replacing all previous numbered
paragraphs with the new style, I'd run into the fewest number of
problems.

Do I need to end each list with the LISTNUM field "LISTNUM \l 1 \s 0",
as I've seen posted elsewhere? Shauna's instructions were so
thorough, but she never mentioned that. This is a procedural manual so
there are 100's of numbered lists.

Alternatively, is it advised (as I've also seen posted) to set Level
1 to no number at all and base Level 2 on Level 1 and to start at 1?
Again, Shauna didn't mention that was necessary in order to get the
numbering scheme correct.

Please advise. I've had problems in the past with numbering when
using previous versions of Word, so I thought by following Shauna's
excellent instructions, everything would turn out fine and I wouldn't
have any more hassles.

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 

Ask a Question

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. After that, you can post your question and our members will help you out.

Ask a Question

Top