Those variable references are to documents, not just document names. The code I posted assumes you've opened the documents and therefore need only to tell the macro which is which. As coded, the macro assumes it is in the source document, which isn't the active one, and that the active document is the target document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|