Multiple Word docs open - how to set focus

  reddwarfcrew 19:44 24 Jan 2006


I have a macro that opens a new blank document and then runs some code.

However, if I have other docs already open, the new document does not have focus (is the active document). Therefore some (not all) of the code is applied to the active document that currently has focus.

Is there a way to make the new document the active document?

I'm on Word 2003.


(ps I can do a workaround that closes all open docs first and therefore by default leaving my new document the only document, but it isn't ideal).

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Best of the Grad Shows 2017: UAL Central Saint Martins

MacBook Pro 15-inch (2017) review

Comment connecter un MacBook à une TV ?