Wavy underline for errors in Word

D

Dr Melvyn Kettle

I have less than perfect vision and I sometimes miss the wavy red underline
for spelling errors in Word. I also miss the green wavy underline for
grammatical errors. Is it possible to replce these underlines with block
highlights to make errors more visible I have asked thus question before and
some kind person responded. Unfortunately, I could not open the likns
contained in the reply in my browser (I have two browsers and neither would
work). If someone can provide assistance would he/she do so direct to my
e-mail address at (e-mail address removed). Many thanks.

Dr Melvyn Kettle
 
G

Greg Maxey

Dr. Kettle,

No. You cannot replace the wavy underlines with highlighting.

However, there are some things that you could to help you detect spelling
errors.

You could run the following macro that would add highlighting to any
existing spelling errors (flagged with wavy underlines or not) in the
document (actually as written only in the current storyrange):

Sub SuperFlagErrors()
Dim oSp As Word.Range
Dim oGe As Word.Range
For Each oSp In ActiveDocument.Range.SpellingErrors
oSp.HighlightColorIndex = wdBrightGreen
Next oSp
End Sub

Then after you corrected your error you could run this macro to clear the
hightlighting:

Sub RemoveSuperFlagsAfterCorrections()
Dim oSp As Word.Range
Dim oRng As Word.Range
Set oRng = ActiveDocument.Range
With oRng.Find
.Highlight = True
While .Execute
If oRng.HighlightColorIndex = wdBrightGreen Then
If oRng.SpellingErrors.Count = 0 Then
oRng.HighlightColorIndex = wdAuto
End If
End If
Wend
End With
End Sub

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.

"It is not the critic who counts, not the man who points out how the strong
man stumbles, or where the doer of deeds could have done them better. The
credit belongs to the man in the arena, whose face is marred by dust and
sweat and blood, who strives valiantly...who knows the great enthusiasms,
the great devotions, who spends himself in a worthy cause, who at the best
knows in the end the triumph of high achievement, and who at the worst, if
he fails, at least fails while daring greatly, so that his place shall never
be with those cold and timid souls who have never known neither victory nor
defeat." - TR
 

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

Top