#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
Thanks Graham. Much appreciated.
Margaret |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SpellChecker Everytime I open File | spatio | Word | 1 | 07-29-2015 08:16 PM |
Spellchecker says all words are misspelled | atwhatcost | Word | 2 | 07-06-2014 02:24 PM |
Spellchecker not replacing all instances | jsuebersax | Word | 2 | 04-28-2014 05:15 PM |
Grammar checking isssue | mahenn45 | Word | 1 | 03-01-2012 01:05 AM |
Spellchecker not working | GR8Fandini | Word | 6 | 02-07-2010 01:12 PM |