K
Keith
When working in Word, if you launch the spell checker, the spell check dialog
seems to always retain focus. It displays in the forefront when you switch
from one document to the next while the dialog is active.
However, I've written a macro that creates a new active document, inserts
text into the doc, and launches the spell checker. When this code is
executed, the spell check dialog only seems to display when the "new"
document is selected. If I switch to other Word docs while spell check is
still running, the dialog is hidden.
Is there any way to force this dialog to display on top of all active
Documents? Here is an example of my macro source:
Set objDoc = Documents.Add
objDoc.Range = strCheckText
objDoc.Activate
objDoc.CheckSpelling
seems to always retain focus. It displays in the forefront when you switch
from one document to the next while the dialog is active.
However, I've written a macro that creates a new active document, inserts
text into the doc, and launches the spell checker. When this code is
executed, the spell check dialog only seems to display when the "new"
document is selected. If I switch to other Word docs while spell check is
still running, the dialog is hidden.
Is there any way to force this dialog to display on top of all active
Documents? Here is an example of my macro source:
Set objDoc = Documents.Add
objDoc.Range = strCheckText
objDoc.Activate
objDoc.CheckSpelling