Why does the macro I created to Recheck Spelling not work?

B

B@TDA

In MS Word 2007, I'm trying to create a macro to avoid having to go through
the steps "Word options > Proofing >Recheck document ... " every time I need
to clear the old spell-check files and recheck spelling in a document. My
macro looks like this:

Sub SpellRecheck()
'
' SpellRecheck Macro
'
'
Application.ResetIgnoreAll
ActiveDocument.SpellingChecked = False
ActiveDocument.GrammarChecked = False
End Sub

It does not work. Any idea why, and what I can do to make it work? Other
macros I've written work fine. Thanks for any advice!
 
D

Doug Robbins - Word MVP

Try

Application.ResetIgnoreAll
ActiveDocument.SpellingChecked = False
ActiveDocument.GrammarChecked = False
ActiveDocument.Range.CheckSpelling


--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top