From: B on
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!
From: Doug Robbins - Word MVP on
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.

"B(a)TDA" <B(a)TDA@discussions.microsoft.com> wrote in message
news:6CDE74A1-C4A9-4CBE-B6A6-C9DFA1E69A63(a)microsoft.com...
> 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!