PC Review


Reply
Thread Tools Rate Thread

Converting endnotes to text

 
 
=?Utf-8?B?VGhlc2lzIE5lcmQ=?=
Guest
Posts: n/a
 
      10th Aug 2007
Hi. I have a manuscript ready for publication but now have been told that I
can't use the footnote or endnote function of Word and have to enter them as
regular text. Is there an automatic way of this being done? Otherwise I will
have to cut and paste the endnotes, then delete the original reference to
them and then add the reference number as a normal number and then
superscript each number - this seems like a major pain when there are
literally hundreds to do. If anyone could help that would be great.
Cheers
 
Reply With Quote
 
 
 
 
=?Utf-8?B?U3RlZmFuIEJsb20=?=
Guest
Posts: n/a
 
      10th Aug 2007
You can use the following macro:

Sub ConvertEndnotesToText()
'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

End Sub

For assistance, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP


"Thesis Nerd" wrote:

> Hi. I have a manuscript ready for publication but now have been told that I
> can't use the footnote or endnote function of Word and have to enter them as
> regular text. Is there an automatic way of this being done? Otherwise I will
> have to cut and paste the endnotes, then delete the original reference to
> them and then add the reference number as a normal number and then
> superscript each number - this seems like a major pain when there are
> literally hundreds to do. If anyone could help that would be great.
> Cheers

 
Reply With Quote
 
=?Utf-8?B?bWljaGFlbDc3Nzc=?=
Guest
Posts: n/a
 
      10th Oct 2007
Stefan,

Thanks for this macro! Running it does change the citations to plain
superscript, however, it also deletes my reference list... is this supposed
to happen? Is there a way to preserve the list, or should I just copy it
before and then paste it back in? (I'll lose the numbering but I guess I
could format it as a numbered list).

Thanks,

Michael

"Stefan Blom" wrote:

> You can use the following macro:
>
> Sub ConvertEndnotesToText()
> '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
>
> End Sub
>
> For assistance, see http://www.gmayor.com/installing_macro.htm.
>
> --
> Stefan Blom
> Microsoft Word MVP
>
>
> "Thesis Nerd" wrote:
>
> > Hi. I have a manuscript ready for publication but now have been told that I
> > can't use the footnote or endnote function of Word and have to enter them as
> > regular text. Is there an automatic way of this being done? Otherwise I will
> > have to cut and paste the endnotes, then delete the original reference to
> > them and then add the reference number as a normal number and then
> > superscript each number - this seems like a major pain when there are
> > literally hundreds to do. If anyone could help that would be great.
> > Cheers

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting endnotes to footnotes problems in Word 97 Frustrated User Microsoft Word Document Management 1 22nd May 2009 11:19 AM
Converting footnotes to endnotes =?Utf-8?B?c3Vyb29yYQ==?= Microsoft Word Document Management 2 20th Jul 2007 01:22 PM
converting footnotes to endnotes =?Utf-8?B?c2NobWFyZ2xl?= Microsoft Word Document Management 5 31st Jan 2006 06:33 PM
Converting documents with endnotes to web page =?Utf-8?B?SWxsaW5vaXNfZGF0YWJhc2VfY29uc3VsdGFudA== Microsoft Word Document Management 1 26th Oct 2005 08:53 PM
Converting Endnotes to normal text =?Utf-8?B?SGFtbW9uZA==?= Microsoft Word Document Management 1 14th Nov 2003 02:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:36 AM.