A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

restart numbering



 
 
Thread Tools Display Modes
  #1  
Old May 27th, 2004, 05:11 PM
johanna castro
external usenet poster
 
Posts: n/a
Default restart numbering

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)
  #2  
Old May 30th, 2004, 11:12 AM
Shauna Kelly
external usenet poster
 
Posts: n/a
Default restart numbering

Hi Johanna

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

Hope this helps.

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


"johanna castro" wrote in message
...
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)



  #3  
Old June 2nd, 2004, 05:41 PM
Johanna Castro
external usenet poster
 
Posts: n/a
Default restart numbering

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 Macro
' Macro recorded 5/17/2004 by Johanna
'
Selection.InsertBreak Type:=wdPageBreak
Selection.InsertFile FileName:="PLAN DE TRABAJO HIJO.doc", Range:="", _
ConfirmConversions:=False, Link:=False, Attachment:=False
'added'
ListGalleries(wdNumberGallery).ListTemplates(5).Na me = ""
Selection.Range.ListFormat.ApplyListTemplate ListTemplate:=ListGalleries( _
wdNumberGallery).ListTemplates(5), ContinuePreviousList:=False, ApplyTo:= _
wdListApplyToWholeList, DefaultListBehavior:=wdWord10ListBehavior
Application.Run MacroName:="RestartNumbering"
....
end sub
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.