W
Webboex
In Word 2007, if there are multiple documents open, ActiveDocument does not
always refer to the last document I viewed or typed in and instead sometimes
reverts back to the last document on which I used the procedure.
As I can replicate this problem with a one line macro
MsgBox ActiveDocument.Name
the problem is not related to the complexity of the code I am trying to run.
Is there any other way of referring to the document I last worked on or
viewed?
always refer to the last document I viewed or typed in and instead sometimes
reverts back to the last document on which I used the procedure.
As I can replicate this problem with a one line macro
MsgBox ActiveDocument.Name
the problem is not related to the complexity of the code I am trying to run.
Is there any other way of referring to the document I last worked on or
viewed?