Endnotes - Numbering, Pages Headers, Etc.

L

LS

I am preparing a book in Word. Currently, I have all content (text +
endnotes) in a single matser document and need to create separate files for
each chapter. Once I do that, I will need to copy each chapter's endnotes
into a separate file.

I have two question:
1. Once I create the separate chapter files, is there any way to copy the
endnotes for a given chapter into a new document, without all the notes being
converted to "1" (which is what happens now)? In other words, how do I
preserve the numbering scheme across documents?

2. If I prefer to keep a copy of a chapter's endnotes within the chapter
file, is there a way to prevent the header's page number from numbering the
endnote pages? In other words, I want the numbering to stop on the last page
of content in a given chapter.

Any help would be appreciated.
 
D

Doug Robbins - Word MVP

This might help with the endnotes part:

' Macro created 29/09/99 by Doug Robbins to replace endnotes with textnotes
at end of document

' to replace the endnote reference in the body of the document with a
superscript number.

'

Dim aendnote As Endnote

For Each aendnote In ActiveDocument.Endnotes

ActiveDocument.Range.InsertAfter vbCr & aendnote.Index & vbTab &
aendnote.Range

aendnote.Reference.InsertBefore "a" & aendnote.Index & "a"

Next aendnote

For Each aendnote In ActiveDocument.Endnotes

aendnote.Reference.Delete

Next aendnote

Selection.Find.ClearFormatting

Selection.Find.Replacement.ClearFormatting

With Selection.Find.Replacement.Font

.Superscript = True

End With

With Selection.Find

.Text = "(a)([0-9]{1,})(a)"

.Replacement.Text = "\2"

.Forward = True

.Wrap = wdFindContinue

.Format = True

.MatchWildcards = True

End With

Selection.Find.Execute Replace:=wdReplaceAll


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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