I edited the code (below) and as I said, it runs perfect on my computer with Word 2010 but on another computer with Word 2016, the grammar portion is not running. Help!
Code:
Sub RunSpellCheck()
ActiveDocument.Unprotect
Selection.WholeStory
Selection.LanguageID = wdEnglishUS
If Options.CheckGrammarWithSpelling = True Then
ActiveDocument.CheckGrammar
Else
ActiveDocument.CheckSpelling
End If
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
End Sub
I should also include that it's checking legacy form fields when the form unlocks.