I need a macro to search a document for delimited text, copy that text to the clipboard and then paste that text into the document header or footer.
For example, the document might contain the text:
+FOOTER+This is the text to copy+FOOTER+
The macro should copy the phrase "This is the text to copy" to the footer. The macro should do the same for header text.