J
JRob
I am in the process of migrating from Word 2002 to Word 2007 and have
several macros developed in the later.
One macro opens files using the Documents.Open(strFileName)
Previously the file opened would become the activedocument in the Word
Application window. However in Word 2007 the file opened is not the
activedocument and it has to be selected from the task bar or by using
Alt + Tab.
I have tried various workarounds to sort this (SendKeys etc) to no
avail. Any ideas would be welcome.
several macros developed in the later.
One macro opens files using the Documents.Open(strFileName)
Previously the file opened would become the activedocument in the Word
Application window. However in Word 2007 the file opened is not the
activedocument and it has to be selected from the task bar or by using
Alt + Tab.
I have tried various workarounds to sort this (SendKeys etc) to no
avail. Any ideas would be welcome.