Remove all misspelled words in my word document.

I need to remove all misspelled words in my word document. The document include more word (about 150 pages) so I can not remove those misspell word one by one. how can I do it easy?

please help

Answer
Answer

If you run a macro containing the following code, it will delete the misspelled words from the document.  Is that really what you want to do?

Dim anerror As range
For Each anerror In ActiveDocument.SpellingErrors
    anerror.Delete
Next

See the article "What do I do with macros sent to me by other newsgroup readers to help me out?” at:

http://www.word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm

Hope this helps,
Doug Robbins - MVP Office Apps & Services (Word)
dougrobbinsmvp@gmail.com
It's time to replace ‘Diversity, Equity & Inclusion’ with ‘Excellence, Opportunity & Civility’ - V Ramaswamy

6 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated December 2, 2023 Views 2,592 Applies to: