Re: Return focus to word and Activate




How about activating the Word document itself?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"slickdock" <slickdock@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:1EBAF884-E7B1-4EBB-B041-28EFC1A452DD@xxxxxxxxxxxxxxxx
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.





.



Relevant Pages

  • Re: I cant view what I pasted into Word document
    ... then you might want to check the website of the manufacturer of your video card/graphics adapter to see if there is an updated driver available. ... software and paste them into a Word document. ... Now when I open any document with screen prints in it, ... Then as soon as I start typing below the image, ...
    (microsoft.public.word.drawing.graphics)
  • Re: Odd typing in MSWord
    ... Are root kits 'that' new or are the bad guys just getting a smidge smarter? ... >Subject: Odd typing in MSWord ... >network and was editing a Word document with office 2002. ... Chapter 4 of The Complete Patch Management Book: ...
    (Incidents)
  • Re: Odd typing in MSWord
    ... each time, much to my feelings of foolishness, it was a key being pressed ... or sticking ... > network and was editing a Word document with office 2002. ... It was slow, typical typing speed, and lasted for about 10 ...
    (Incidents)
  • Odd typing in MSWord
    ... One of my users had their XP SP1 laptop on the corporate ... network and was editing a Word document with office 2002. ... It was slow, typical typing speed, and lasted for about 10 ...
    (Incidents)
  • Re: Add Rows or Colums to Embedded Excel Spreadsheet
    ... Have tried adding switches to the EMBED field code & what ... the value of the cells that are already displaying will change if ... > say 10 rows to 20 rows on the Word document. ... > embedded worksheet but they won't display on the Word doc. ...
    (microsoft.public.mac.office.word)

Loading