restart numbering

J

johanna castro

Hi
I create a template with 2 tables. Each table have custom numbering (one 1., the other 1. ___ ). In the botton of the template I include a macro that open anothe 2 table template and append it tho the first template. My problem is that the tables on the added template continue the numbering from the first table instead of restart number. I'm using Word XP and Word 2003. Is ther's a way that I can restart the numbering automatically

=
Example

(table template 1
Instrucciones Generales de Mantenimiento Preventivo:
Titulo:
nota:
(Inicie)
1.________ line1
2.________ line2
(end table

New Plan <-- (Is a Macro button

(table template 2) Instrucciones Generales de Mantenimiento Preventivo:
Titulo:
nota:
(Inicie)
3.________ line1
4.________ line2
(end table)
 
S

Shauna Kelly

Hi Johanna

See http://www.syntagma.demon.co.uk/FAQs/ListRestartMethods.htm for lots of
information about restarting numbering in Word.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


johanna castro said:
Hi:
I create a template with 2 tables. Each table have custom numbering (one
1., the other 1. ___ ). In the botton of the template I include a macro
that open anothe 2 table template and append it tho the first template. My
problem is that the tables on the added template continue the numbering from
the first table instead of restart number. I'm using Word XP and Word 2003.
Is ther's a way that I can restart the numbering automatically?
 
J

Johanna Castro

I try it and it doesn't work. the master document continue the list numbering instead of restarting it. This happend each time I append a new file this the macro. I need help ASAP

===Sub Macro1(

' Macro1 Macr
' Macro recorded 5/17/2004 by Johann

Selection.InsertBreak Type:=wdPageBrea
Selection.InsertFile FileName:="PLAN DE TRABAJO HIJO.doc", Range:="",
ConfirmConversions:=False, Link:=False, Attachment:=Fals
'added
ListGalleries(wdNumberGallery).ListTemplates(5).Name = "
Selection.Range.ListFormat.ApplyListTemplate ListTemplate:=ListGalleries(
wdNumberGallery).ListTemplates(5), ContinuePreviousList:=False, ApplyTo:=
wdListApplyToWholeList, DefaultListBehavior:=wdWord10ListBehavio
Application.Run MacroName:="RestartNumbering
...
end sub
 

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