View Single Post
 
Old 09-22-2017, 08:58 PM
tonyony tonyony is offline Windows 10 Office 2016
Novice
 
Join Date: Sep 2017
Posts: 4
tonyony is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
That said, the following macro automatically corrects spelling errors in a document, using the first-suggested word from the spelling dictionary, unless the word is found in the macro’s exclusions list. Words in the exclusion list get bright green highlighting and other words, for which no correction can be found, get pink highlighting.
Thank you for this! It works very well

Quote:
Originally Posted by macropod View Post
As for grammar corrections - aside from the fact there's no way to automate this, why would you want to do anything about the grammar of the source material? It is what it is!
Hi, the VBA code you have generated fixes the spelling mistakes but doesn't solve the issue with the Grammatical errors that come up when for example i have left a space between a word and a comma. For example if I write

"I went shopping , but i did not buy anything"

There would be a blue line because I left a space before the comma. Now the problem is not the blue line, the problem is that I would like to find a way to accept Word's grammatical suggestions. Is there a way to integrate the Macro so that it also accepts the first suggestion for grammar errors/blue lines (integrating the spelling errors which the macro you created so brilliantly does)?
Reply With Quote