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

WPA2 hack: How secure is your Wi-Fi?

Add Depth Of Field to a photo using Tilt Shift Blur in Photoshop

iPhone tips & tricks

Les meilleures tablettes 2017