Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-09-2016, 07:15 PM
PSSMargaret PSSMargaret is offline VBA Code for Grammar Check Not Working in Word 2016 Windows 10 VBA Code for Grammar Check Not Working in Word 2016 Office 2010 64bit
Novice
VBA Code for Grammar Check Not Working in Word 2016
 
Join Date: May 2016
Posts: 28
PSSMargaret is on a distinguished road
Default VBA Code for Grammar Check Not Working in Word 2016

The code below works perfectly in Word 2010 for spell checking and grammar checking but it's not working in Word 2016. Does anyone have an idea why?



HTML Code:
Sub RunSpellCheck()
   ActiveDocument.Unprotect
   Selection.WholeStory
   Selection.LanguageID = wdEnglishUS
   ActiveDocument.CheckSpelling
   ActiveDocument.CheckGrammar
   ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Code for Grammar Check Not Working in Word 2016 Spell check and grammar insists that a word should be capitalized, but it should not x7lillies Word 3 07-30-2014 02:02 PM
VBA Code for Grammar Check Not Working in Word 2016 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
VBA Code for Grammar Check Not Working in Word 2016 spelling and grammar check question sledge105 Word 1 08-17-2011 02:09 PM
VBA Code for Grammar Check Not Working in Word 2016 Spelling/Grammar check on a novel Quadrillion Word 3 08-13-2011 02:57 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft