Automate
10-30-2017, 11:24 AM
Problem: I have to edit documents where people are required to cite sources like this:
George Washington liked apples. <Source #1> Thomas Jefferson prefers pears. <Source #2>
After I review the documents, the next level of review requires all the citations to be in endnotes. Is there a way to write a macro that would:
Run through the word document and identify all strings between <***x>
Create a new endnote with the strings as the text of the endnote
Replace the original strings (in the body, including the <> characters) with the numeric superscript assigned when the endnote is created
Result:
George Washington liked apples.1 Thomas Jefferson prefers pears.2
Endnotes
--------------------
[1] Source #1
[1] Source #2
George Washington liked apples. <Source #1> Thomas Jefferson prefers pears. <Source #2>
After I review the documents, the next level of review requires all the citations to be in endnotes. Is there a way to write a macro that would:
Run through the word document and identify all strings between <***x>
Create a new endnote with the strings as the text of the endnote
Replace the original strings (in the body, including the <> characters) with the numeric superscript assigned when the endnote is created
Result:
George Washington liked apples.1 Thomas Jefferson prefers pears.2
Endnotes
--------------------
[1] Source #1
[1] Source #2