Knowledge Base

How to Add "Ignore Always" to the Spelling Shortcut Menu

Article ID: 136467

Article Last Modified on 8/17/2005


APPLIES TO


This article was previously published under Q136467

SUMMARY

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.

MORE INFORMATION

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:

    1. On the Tools menu, click Macro.
    2. In the Macro Name box, enter ToolsSpellingIgnoreAlways.
    3. Click Create.
    4. Type the following macro code between the Sub Main and End Sub commands:
            If SpellChecked() = 1 Then SpellChecked 0
            ToolsLanguage .Language = "0"
      								
    5. Save and close the macro window.
  2. Assign the macro to the Spelling shortcut menu, as follows:

    1. On the Tools menu, click Customize.
    2. Click the Menus tab.
    3. In the Categories list, click Macros.
    4. In the Macro list, click ToolsSpellingIgnoreAlways.
    5. In the Change What Menu list, click Spelling (Shortcut).
    6. Click Add.
    7. 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.

Additional query words: 7.0 word95 winword word7 exception

Keywords: kbmacroexample kbproof KB136467