#1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Al
 
Posts: n/a
Default End Note

Hi, hope this is the right forum.

I have a 2 page document, created from a template, that contains an EndNote.

If I do a MailMerge, and create a single record, the note appears at the end
of the document. However if I do a mailmerge to file, of say 21 records,
the End notes do not appear at the end of page 2, but I get 21 instances at
the end of the document.

Is this right, and can anyone advise me what i have done wrong?

Thanks
A


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default End Note

Use the Location pulldown in the Insert EndNote dialog to set the location
to the End of the Section rather than the end of the Document in the mail
merge main document. In the Format section of that dialog, you will also
need to set the Numbering to restart at each section.

If that doesn't work, use the following macro on the main document to
convert the end note to a "text note"

' 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

"Al" wrote in message
...
Hi, hope this is the right forum.

I have a 2 page document, created from a template, that contains an
EndNote.

If I do a MailMerge, and create a single record, the note appears at the
end of the document. However if I do a mailmerge to file, of say 21
records, the End notes do not appear at the end of page 2, but I get 21
instances at the end of the document.

Is this right, and can anyone advise me what i have done wrong?

Thanks
A




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
Styles not formatting properly getravel Microsoft Word Help 5 March 14th 06 05:52 AM
Note Section at the bottom of a Page in Word dan Microsoft Word Help 2 December 20th 05 06:56 AM
REPEAT NOTE AT THE END OF A DOCUMENT XY Microsoft Word Help 3 November 28th 05 06:09 AM
End note questions Subin Microsoft Word Help 0 November 23rd 05 07:09 PM
How do I create note cards (4x6)? Richard Microsoft Word Help 1 November 17th 05 07:17 AM


All times are GMT +1. The time now is 02:28 AM.

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"