Hello all,
I have a Userform that runs a macro that opens 2 separate word documents, a template letter and a letter with a few bookmarked text articles.
I have been trying to get the macro to select a specific bookmark in the articles document based on the selection from a drop down box in the Userform, copy that bookmark, make the template letter the active document and paste the copies bookmark article text into a bookmark in the letter template.
My question is: Is it necessary to have the macro switch between active Word documents to copy/paste text from one Word document to another or can you declare both documents as objects or documents and use the macro to copy/paste text between them without switching the active document?
(If code is needed I can post it)
Any help on this would be appreciated.
Thanks
K
I have a Userform that runs a macro that opens 2 separate word documents, a template letter and a letter with a few bookmarked text articles.
I have been trying to get the macro to select a specific bookmark in the articles document based on the selection from a drop down box in the Userform, copy that bookmark, make the template letter the active document and paste the copies bookmark article text into a bookmark in the letter template.
My question is: Is it necessary to have the macro switch between active Word documents to copy/paste text from one Word document to another or can you declare both documents as objects or documents and use the macro to copy/paste text between them without switching the active document?
(If code is needed I can post it)
Any help on this would be appreciated.
Thanks
K