S
slickdock
Here is the code that is in my MSACCESS 2002 module:
'leading up to this code, Word is launched, a document is merged and left on
screen
'for the user to work with:
wd.Visible = True
wd.Application.ScreenUpdating = True
wd.Application.Activate
The code activates the Word document screen and leave the cursor ready to
type on the Word screen. The code runs fine on any machine that uses Word
versions PRIOR to 2007. But when I use the same code with machines that use
Word 2007, the Word doc becomes visible and the cursor is visible, but you
have to manually click with the mouse in the Word doc before you can start
typing. If you start typing before you click with the mouse in the Word doc,
it turns out that msAccess is still holding the focus, because when you start
typing, you are typing on the msAccess form that was on the screen when the
code started running.
THanks for help.
'leading up to this code, Word is launched, a document is merged and left on
screen
'for the user to work with:
wd.Visible = True
wd.Application.ScreenUpdating = True
wd.Application.Activate
The code activates the Word document screen and leave the cursor ready to
type on the Word screen. The code runs fine on any machine that uses Word
versions PRIOR to 2007. But when I use the same code with machines that use
Word 2007, the Word doc becomes visible and the cursor is visible, but you
have to manually click with the mouse in the Word doc before you can start
typing. If you start typing before you click with the mouse in the Word doc,
it turns out that msAccess is still holding the focus, because when you start
typing, you are typing on the msAccess form that was on the screen when the
code started running.
THanks for help.