Reply
 
Thread Tools Display Modes
  #1   Report Post  
GulfCoast_Guy
 
Posts: n/a
Default Printing a document with grammer and spelling error wavy lines?

I would like to print out a document with the wavy lines showing all spelling
and grammatical errors. Does anyone know if there is a way?
  #2   Report Post  
Greg
 
Posts: n/a
Default

GCG,

AFAIK you can only get close. Here is a macro that will show spelling
errors in red font with a red wavy underline. The stetted out section
"will" show grammatical errors in green font with a green wavy
underline. The problem I encountered is that a sentence with a
mispelled word is considered a grammatical error and so the green
trumps the red. An otherwise well written sentence with a single
mispelled word is all painted green :-(. Unstet the lines and you will
see what I mean:

Sub TagSpellingSPerrors()

Dim oSPerror
Dim SPerrors
Dim oGRerror
Dim GRerrors

Set SPerrors = ActiveDocument.SpellingErrors
Set GRerrors = ActiveDocument.GrammaticalErrors

For Each oSPerror In SPerrors
With oSPerror.Font
..Color = wdColorRed
..Underline = True
..Underline = wdUnderlineWavy
End With
Next oSPerror

'For Each oGRerror In GRerrors
' With oGRerror.Font
' .Color = wdColorGreen
' .Underline = True
' .Underline = wdUnderlineWavy
' End With
' End If
'Next oGRerror

End Sub

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i add spelling and grammer check? Lindie Microsoft Word Help 1 December 16th 04 05:38 AM
Dim Spelling and Grammer button jimmyd121158 Microsoft Word Help 1 December 16th 04 05:01 AM
Spelling & Grammer OHCS Microsoft Word Help 1 December 4th 04 10:56 PM


All times are GMT +1. The time now is 08:36 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"