![]() |
|
#2
|
|||
|
|||
|
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
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Spell check and grammar insists that a word should be capitalized, but it should not
|
x7lillies | Word | 3 | 07-30-2014 02:02 PM |
Check grammar but NOT spelling with VBA
|
ilcaa72 | Word VBA | 1 | 02-13-2014 12:15 PM |
| spell and grammar check | bull | Word | 2 | 07-24-2013 10:28 AM |
spelling and grammar check question
|
sledge105 | Word | 1 | 08-17-2011 02:09 PM |
Spelling/Grammar check on a novel
|
Quadrillion | Word | 3 | 08-13-2011 02:57 PM |