![]() |
|
#1
|
|||
|
|||
|
When I enter the following keystrokes in Word:
<alt>F..............File menuit brings up a new document based on the "M2" template, exactly as desired. Up until today, that document had the focus. If I started typing, the keystrokes would be entered into the new document. As of today, however, the newly-created document usually does not have the focus. Typing is not entered into the new document (nor any other place), even though there is a blinking cursor in the document. Clicking on the new document brings the focus to it, and from then on everything is fine. Occasionally the new document has the focus without clicking on it, but most of the time not. The problem is I've written a macro to simulate the keystrokes. The macro creates the new document correctly, but when it goes to paste text into it, nothing happens because the new document doesn't have focus. Is there some Windows or Word parameter that I could have changed inadvertently that would cause this lack of focus? Why would it work for years, then suddenly (most, but not all of the time) change behavior? Thanks for any ideas! |
|
#2
|
|||
|
|||
|
This problem occurred on my desktop computer and continued through several reboots, I tried the same thing on my laptop and it worked fine. Now I've come back to my desktop and it's suddenly working there again as well (no rebooting in the interim). No idea why the problem seems to come and go without cause.
|
|
| Tags |
| focus, new document |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Focus a new Document and bring it in the foreground | f__s | Word VBA | 0 | 04-27-2020 03:36 PM |
Get path of newly opened word document
|
MANOHAR | Word | 2 | 04-12-2017 06:07 AM |
how keep word document highlighted when switching focus to another application?
|
dylansmith | Word | 4 | 05-08-2013 01:21 AM |
Show userform without losing document focus? Or other method to get a graphic to pop?
|
AlexR | Word VBA | 7 | 03-31-2013 12:17 PM |
Setting focus to specific word document from UserForm
|
SaneMan | Word VBA | 5 | 04-01-2011 03:11 PM |