Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-17-2018, 10:15 AM
mediadesign mediadesign is offline Windows 10 Office 2016
Novice
 
Join Date: Aug 2018
Posts: 3
mediadesign is on a distinguished road
Question Is there a macro to convert superscripted endnotes to active footnotes?

Hello,

I'm converting superscripted endnote numbers to active Word footnotes, and I'd like to use a macro to do it. A sample is attached; the actual doc is about 200 pages with about 900 endnotes.

The Word doc (Office Pro Plus 2016) has superscripted endnote numbers (style=Endnote Reference), and numbered endnotes (style=Endnote Text) at the end of the doc. The endnote comma separators have their own style so that .find selects "1" from "1, 2, 3" and not "1, 2, 3" (style=Endnote Reference Comma).



I appreciate the tips and techniques I have learned from this forum over the years. This is my first question - Thank you!
Attached Files
File Type: docx superscript_to_footnote.docx (12.6 KB, 3 views)
Reply With Quote
  #2  
Old 08-17-2018, 04:03 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,468
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

See, for example:
http://www.msofficeforums.com/word-v...-endnotes.html
http://www.msofficeforums.com/word-v...t-endnote.html
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 08-18-2018, 04:16 PM
mediadesign mediadesign is offline Windows 10 Office 2016
Novice
 
Join Date: Aug 2018
Posts: 3
mediadesign is on a distinguished road
Default Will report back

Thank you Paul; will try this and report back -
Reply With Quote
  #4  
Old 08-20-2018, 07:46 AM
mediadesign mediadesign is offline Windows 10 Office 2016
Novice
 
Join Date: Aug 2018
Posts: 3
mediadesign is on a distinguished road
Default

Appreciate the referrals to
http://www.msofficeforums.com/word-v...-endnotes.html and

http://www.msofficeforums.com/word-vba/7544-macro-convert-text-endnote.html.



My docs will never have a single endnote at the end of a single paragraph.



The macro RelinkEndnotes() is sort of a superEditor in my case since it deletes all selected text. :-)
Reply With Quote
  #5  
Old 08-20-2018, 03:20 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,468
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Quote:
Originally Posted by mediadesign View Post
My docs will never have a single endnote at the end of a single paragraph.



The macro RelinkEndnotes() is sort of a superEditor in my case since it deletes all selected text. :-)
If you read either post, you'll see they say you need to select the footnote/endnote range to be processed; in the case of the second one, you're also told that failing to do so will result in the macro assuming everything from that point to the end of the document will be treated as the footnote/endnote range. The second one also presupposes the references for the notes to be converted are enclosed in <>.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Tags
footnotes, macro

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Footnotes / Endnotes? | See attachment modene1 Word 2 05-17-2017 02:53 AM
Changing footnotes to endnotes Sarah Word 3 04-27-2017 08:55 PM
Converting hard-entered endnotes to footnotes? New Daddy Word VBA 1 10-21-2012 02:51 PM
How to convert endnotes in a text doc to Word endnotes? Dickison Word VBA 4 10-06-2012 09:11 PM
Endnotes within Footnotes? elias Word 12 09-04-2012 04:12 PM


All times are GMT -7. The time now is 11:59 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft