View Single Post
 
Old 05-29-2011, 06:34 PM
Orifacious Orifacious is offline Windows XP Office 2000
Novice
 
Join Date: May 2011
Posts: 4
Orifacious is on a distinguished road
Default Macro to convert text to endnote?

Hi, gang.
I have a good number of Word files (Word 2000) containing entries with source citations enclosed between brackets, like this:
<Brady, S.F.Independent, 3-24-92>
Over time, however, I've accumulated enough such citations, that it sort of hampers the ability to visually read the text, so I'd like to convert those "in-line" citations into endnotes.

I've been trying (unsuccessfully) for a while now to figure out how to write a macro that would do the following:

* Search for all instances of text contained between a "<" and a ">".
* Allow for a "Replace" or "Find Next" option (as in Search/Replace) so that I could choose to skip a particular instance if desired and move on the next find.
* If choose NOT to skip ("Find Next"), then strip out the "<" and ">", and then convert the remaining text (what was originally between the "< >") into an endnote.

This would clean up the text itself, while preserving the specific citations and their connection to the particular text in the doc, nicely tucked into the endnote section.

Any ideas?
Reply With Quote