Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2016, 08:12 AM
PSSMargaret PSSMargaret is offline Spellchecker Macro Provided by MVP Not Checking for Grammar Windows 10 Spellchecker Macro Provided by MVP Not Checking for Grammar Office 2010 64bit
Novice
Spellchecker Macro Provided by MVP Not Checking for Grammar
 
Join Date: May 2016
Posts: 28
PSSMargaret is on a distinguished road
Default Spellchecker Macro Provided by MVP Not Checking for Grammar

The "How to enable the spellchecker in a protected document" code provided at the link http://word.mvps.org/FAQs/MacrosVBA/...ProtectDoc.htm is only checking spelling and isn't catching grammar. I have checked my options in Word and they are selected to check grammar with spelling. I have also highlighted the entire form and gone to Set Proofing Language and assured that "Do Not Check Spelling & Grammar" is unchecked.

Need help please. Trying to finish a project and this is the last issue.

Margaret
Reply With Quote
  #2  
Old 06-09-2016, 02:03 AM
gmayor's Avatar
gmayor gmayor is offline Spellchecker Macro Provided by MVP Not Checking for Grammar Windows 10 Spellchecker Macro Provided by MVP Not Checking for Grammar Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The process shown on that page, does not check the grammar of protected fields, only the spelling.

It may have been an oversight, and I have not tested it, for adverse issues elsewhere, but you could add the line to check grammar to the CheckProtectedSection macro which will force a spell and grammar check of the fields

FmFld.Range.CheckSpelling 'existing line
FmFld.Range.CheckGrammar 'add this line
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 06-09-2016, 04:02 AM
PSSMargaret PSSMargaret is offline Spellchecker Macro Provided by MVP Not Checking for Grammar Windows 10 Spellchecker Macro Provided by MVP Not Checking for Grammar Office 2010 64bit
Novice
Spellchecker Macro Provided by MVP Not Checking for Grammar
 
Join Date: May 2016
Posts: 28
PSSMargaret is on a distinguished road
Default

Thanks Graham. Much appreciated.
Margaret
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spellchecker Macro Provided by MVP Not Checking for Grammar SpellChecker Everytime I open File spatio Word 1 07-29-2015 08:16 PM
Spellchecker Macro Provided by MVP Not Checking for Grammar Spellchecker says all words are misspelled atwhatcost Word 2 07-06-2014 02:24 PM
Spellchecker Macro Provided by MVP Not Checking for Grammar Spellchecker not replacing all instances jsuebersax Word 2 04-28-2014 05:15 PM
Spellchecker Macro Provided by MVP Not Checking for Grammar Grammar checking isssue mahenn45 Word 1 03-01-2012 01:05 AM
Spellchecker not working GR8Fandini Word 6 02-07-2010 01:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:18 PM.


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