by Allen Wyatt
(last updated April 12, 2014)
Word includes a power spellchecker that allows you to determine which words in a document need your attention. Sometimes, it might be helpful to have all the misspelled words in one place, rather than throughout the document. If you have this need, the following VBA macro will gather all the misspelled words from one document and place them in a new document.
Sub GetSpellingErrors() Dim DocThis As Document Dim iErrorCnt As Integer Dim J As Integer Set DocThis = ActiveDocument Documents.Add iErrorCnt = DocThis.SpellingErrors.Count For J = 1 To iErrorCnt Selection.TypeText Text:=DocThis.SpellingErrors(J) Selection.TypeParagraph Next J End Sub
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1465) applies to Microsoft Word 97, 2000, 2002, and 2003.
Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!
The rules of professional editing often require that editorial changes in a quote be noted with brackets. These brackets, ...Discover More
In my English classes in junior high, I would get marked down if I started sentences with a conjunction. ("There's a reason ...Discover More
When writing technical documents, URLs are a common thing to include in your text. Normally Word will mark these as ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.