Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
margarok margarok is offline
external usenet poster
 
Posts: 3
Default Save endnote numbering separate

I am preparing a book for publication and need to save the Endnotes separate
from the numbered chapters. I can copy and paste the endnotes into a
separate document, but then I have to renumber them, using section breaks to
restart numbering.

However, I need to be able to save the chapters with the superscripted
endnote numbers intact. Can anyone help me do this without having to jump
through the text and insert the numbers manually?

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Save endnote numbering separate

' 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

"margarok" wrote in message
...
I am preparing a book for publication and need to save the Endnotes
separate
from the numbered chapters. I can copy and paste the endnotes into a
separate document, but then I have to renumber them, using section breaks
to
restart numbering.

However, I need to be able to save the chapters with the superscripted
endnote numbers intact. Can anyone help me do this without having to jump
through the text and insert the numbers manually?



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
margarok margarok is offline
external usenet poster
 
Posts: 3
Default Save endnote numbering separate

Thanks for the help. I'll try this and really appreciate your advice.

"Doug Robbins - Word MVP" wrote:

' 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

"margarok" wrote in message
...
I am preparing a book for publication and need to save the Endnotes
separate
from the numbered chapters. I can copy and paste the endnotes into a
separate document, but then I have to renumber them, using section breaks
to
restart numbering.

However, I need to be able to save the chapters with the superscripted
endnote numbers intact. Can anyone help me do this without having to jump
through the text and insert the numbers manually?




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I separate foot/endnote numbers with a comma? bojserkis Microsoft Word Help 4 May 15th 23 02:47 PM
Endnote numbering Pinko Microsoft Word Help 6 December 15th 08 07:47 AM
Need help with endnote numbering. Carrie Microsoft Word Help 2 November 5th 08 11:39 PM
Endnote numbering Melanie Microsoft Word Help 2 September 21st 06 03:31 PM
Endnote numbering Melanie Microsoft Word Help 2 September 21st 06 12:20 AM


All times are GMT +1. The time now is 09:27 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"