PC Review


Reply
Thread Tools Rate Thread

Copy-paste endnotes

 
 
Ali
Guest
Posts: n/a
 
      12th Jan 2009
How do I stop my Endnote Superscripts from disappearing when I copy a
document with endnotes from Word 2003 and paste into Notepad or a Web message
board?
Thanks!
 
Reply With Quote
 
 
 
 
Doug Robbins - Word MVP
Guest
Posts: n/a
 
      13th Jan 2009
Use a macro containing the following code:

' 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

"Ali" <(E-Mail Removed)> wrote in message
news:4743C178-FB91-4FFF-8F7A-(E-Mail Removed)...
> How do I stop my Endnote Superscripts from disappearing when I copy a
> document with endnotes from Word 2003 and paste into Notepad or a Web
> message
> board?
> Thanks!



 
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
How do I convert chapter endnotes into book endnotes? =?Utf-8?B?RnJ1c3RyYXRlZCBTZWNyZXRhcnk=?= Microsoft Word Document Management 1 5th Mar 2006 04:57 PM
How can I copy endnotes to a new document? =?Utf-8?B?b3Jpb2xlczI5?= Microsoft Word Document Management 6 19th Jul 2005 04:16 AM
How do I get copy/paste to copy/paste text and not the whole page =?Utf-8?B?Q2Fyb2wgSi4=?= Microsoft Word Document Management 1 6th May 2005 09:03 PM
Copy & Paste Object without using the Excel Copy Paste functions =?Utf-8?B?R2Fueg==?= Microsoft Excel New Users 0 10th Mar 2004 07:06 AM
Copy & Paste Object without using the Excel Copy Paste functions =?Utf-8?B?R2Fueg==?= Microsoft Excel Misc 0 10th Mar 2004 07:06 AM


Features
 

Advertising
 

Newsgroups
 


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