Microsoft KB Archive/45986

Word: Invoking the Spelling Checker from Within a Macro

PSS ID Number: Q45986 Article last modified on 11-02-1994

4.00 5.00

MS-DOS

= SUMMARY =

In Word version 5.00, you can invoke the spelling checker from within a macro with the insertion of the Library Spell command or the ALT+F6 function key combination into the macro text. The macro is not paused (as in Word version 4.00) while the spelling checker is active.

Word 4.00 pauses macro execution if the spelling checker is called. This allows the external Spell program to execute without interference from the macro. When the Spell program finishes, control is returned to the instruction in the macro immediately following the Library Spell command.

In Word version 5.50, it is not recommended that you try to run the spelling checker from within a macro unless you do so with the last command executed by the macro. Macros that invoke the spelling checker and then try to handle the prompts generated while the document is spell-checked are difficult to write, and require advanced knowledge of Word’s macro language.

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.