sbraver
04-18-2013, 01:42 PM
Hello, All.
My issue is actually with a Word (2003) macro running on Windows 7.
I want my macro to start in whatever doc is the active window (which may vary from instance to instance), get some text from there and copy it into the clipboard, switch to the next document (which will always be called Document 2), paste the clipboard contents there (plus a return), then switch back to the original window, then stop the macro, awaiting the next macro call. I know how to do everything but the window switches. When I do it with the macro recorder, it inserts the name of the original document in quotes, which limits its generality.
Thanks for your help.
My issue is actually with a Word (2003) macro running on Windows 7.
I want my macro to start in whatever doc is the active window (which may vary from instance to instance), get some text from there and copy it into the clipboard, switch to the next document (which will always be called Document 2), paste the clipboard contents there (plus a return), then switch back to the original window, then stop the macro, awaiting the next macro call. I know how to do everything but the window switches. When I do it with the macro recorder, it inserts the name of the original document in quotes, which limits its generality.
Thanks for your help.