ID: Q136467
The information in this article applies to:
This article describes how to add an Ignore Always command to the Spelling shortcut menu. This command formats the selection for no proofing so that the spelling checker will ignore the selection the next time you check the spelling of your document.
WARNING: ANY USE BY YOU OF THE MACRO CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
To add an Ignore Always command to the Spelling shortcut menu, do the following:
1. Create the macro, as follows:
a. On the Tools menu, click Macro.
b. In the Macro Name box, enter "ToolsSpellingIgnoreAlways" (without the
quotation marks).
c. Click Create.
d. Type the following macro code between the Sub Main and End Sub
commands:
If SpellChecked() = 1 Then SpellChecked 0
ToolsLanguage .Language = "0"
e. Save and close the macro window.
2. Assign the macro to the Spelling shortcut menu, as follows:
a. On the Tools menu, click Customize.
b. Click the Menus tab.
c. In the Categories list, click Macros.
d. In the Macro list, click ToolsSpellingIgnoreAlways.
e. In the Change What Menu list, click Spelling (Shortcut).
f. Click Add.
g. Click Close.
When you choose Ignore Always from the shortcut menu, the selected text
will be marked for no proofing, and the spelling checker will always ignore
it.
KBCategory: kbusage kbhowto KBSubcategory: kbproof kbmacroexample Additional reference words: 7.0 word95 winword word7 exception
Keywords : kbproof kbmacroexample
Version : 7.0
Platform : WINDOWS
Last Reviewed: February 6, 1998