mis-spelled words that contain a number

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I cause Word to automatically correct any word that I've mis-spelled by inadvertently putting a number in the word; for example, each time I type a word like ai9r instead of air or blu3e instead of blue I want it to be automatically corrected without having to go into auto-correct and type in a new entry every time. It seems to me that it would be pretty rare for a word to contain a number; so I would like to be able to have Word automatically correct a mis-spelling by deleting the number any time I inadvertently put a number in a word.
 
Hi Dave,

To have the spelling checker underline such words, go to Tools >
Options > Spelling & Grammar and uncheck the box for "Ignore words
with numbers". When you see the underline, right-click the word and
select AutoCorrect, then select the correct spelling. This adds the
entry for you.

It may be rare for you to use numbers in words, but many other people
do it all the time for part numbers, addresses, and other things.
 
While Jay's selection will flag the errors, it will not automatically
correct them. It is not possible to do that. You can correct them at a
single pass with Word's replace function by replacing
(<[A-Za-z]{1,})[0-9]([a-z]{1,}>)
with
\1\2

or use the following macro to apply that replacement from a single button
click

Selection.HomeKey Unit:=wdStory
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "(<[A-Za-z]{1,})[0-9]([a-z]{1,}>)"
.Replacement.Text = "\1\2"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
End With
Selection.Find.Execute replace:=wdReplaceAll


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
It's in your spelling setup options; you can check or
uncheck the "ignore words with numbers."
-----Original Message-----
How do I cause Word to automatically correct any word
that I've mis-spelled by inadvertently putting a number in
the word; for example, each time I type a word like ai9r
instead of air or blu3e instead of blue I want it to be
automatically corrected without having to go into auto-
correct and type in a new entry every time. It seems to
me that it would be pretty rare for a word to contain a
number; so I would like to be able to have Word
automatically correct a mis-spelling by deleting the
number any time I inadvertently put a number in a word.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top