AUTONUM

  • Thread starter Darren M Taylor
  • Start date
D

Darren M Taylor

I have created a document from several individual documents each of which
used the AUTONUM function to number questions.
Having combine all the individual documents into 1 big document, the AUTONUM
is now numbering the first set correctly, but the questions from document 2,
3 etc... are now consecutive to the first list.
ie. i have 4 lots of 100 questions from 4 documents. each is numbered 1-100
I combine the documents into 1 big document and now the numbering goes
1-400.
What i need to be able to do is keep the numbering as it was originally
1-100, 1-100 etc.
Have tried everything.

PLEASE CAN ANYONE HELP!!!???
 
G

G.G.Yagoda

First, run this macro:

Sub AutoNumToListNum()
Dim Fld As Field, R As Range
ActiveWindow.View.ShowFieldCodes = True
For Each Fld In ActiveDocument.Fields
If InStr(Fld.Code, "AUTONUM") > 0 Then
Fld.Select
Set R = Selection.Range
Fld.Delete
R.Fields.Add Range:=R, Type:=wdFieldListNum, Text:="
LegalDefault \L 1 ", PreserveFormatting:=False
End If
Next
End Sub

That will convert all your AUTONUM fields to LISTNUM fields.

Then go back and find the point at which each list restarts. Add the
switch \S 1 to the first field in the list so the field looks like
this:

{ LISTNUM LegalDefault \L 1 \S 1 )

That will restart each list at number 1. To see the field results,
Alt-F9.
 

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