H
HHDM
Hi group
I have a macro that uses the ActiveDocument.Name property, but it seems
that when I create a new document based on the template that holds this
macro, the new document is not always the active document.
I would assume that when you create a new document, this would
automatically be set as the active document, but I can see it happens
many times, that the new document it placed behind one or more documents
currently opened in Word, and one of these is the active document
instead of the newly created one.
How can I force the newly created document always to be the active document?
Best regards
Hans-Henrik
I have a macro that uses the ActiveDocument.Name property, but it seems
that when I create a new document based on the template that holds this
macro, the new document is not always the active document.
I would assume that when you create a new document, this would
automatically be set as the active document, but I can see it happens
many times, that the new document it placed behind one or more documents
currently opened in Word, and one of these is the active document
instead of the newly created one.
How can I force the newly created document always to be the active document?
Best regards
Hans-Henrik