Word options, proofing, has exceptions for a single document that "hide spelling errors in this document only" and "hide grammar errors in this document only".
I ran the macro recorder on a document where both those were checked, so I unchecked them. I then saved the macro and copied it to a dotm file where I have a bunch of saved macros.
What I normally do is select the document (e.g., put the cursor in that document), then run a macro from the dotm file. This does not work for this particular macro:
Code:
Sub TurnOnSpellCheckforThisDocument()
'
' TurnOnSpellCheckforThisDocument Macro
' Ensures that spell check is enabled (not disabled) for this document
'
ActiveDocument.ShowGrammaticalErrors = False
ActiveDocument.ShowSpellingErrors = False
End Sub
Is the macro wrong? Or is there something I'm missing? Thank you.