Results 1 to 9 of 9
  1. #1
    Star Lounger
    Join Date
    Dec 2009
    Location
    Buenos Aires, Argentina
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    The red wavy line

    Hello

    In Microsoft Word when you write an error, the wrong word is underlined with a red wavy line. I want to know if anyone knows any way to make it stronger (Example: wrrong) or some software that can do the same job.
    Many thanks

  2. #2
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts
    Conceivably, you could have a macro that would pick out words identified as problems by the spell checker, make them bold and color them red. You would have to remember to run it, though.
    Charles Kyle Kenyon
    Madison, Wisconsin

  3. #3
    Star Lounger
    Join Date
    Dec 2009
    Location
    Buenos Aires, Argentina
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    And how you do that?
    I don't know how to make a macro.

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    Quote Originally Posted by didadocom View Post
    I don't know how to make a macro.
    Macros are a big world of fun, but yes, it can be hard to get started.

    For each document, Word creates a collection of proofing errors (spelling errors and, if you turn on grammar checking, grammar errors).

    A macro to highlight spelling errors would be a Visual Basic program stored in Word's Normal template (or another global template if you prefer) that you would run with a button or key combination.

    The problem, though, is that you eventually need to clean up any formatting you add to better highlight the spelling errors, so the first step might be to devise a system for marking them that is easy to undo. For example, you could create a new character style with green highlighting and use that style to mark the proofing errors. Since that style would normally not appear in your documents otherwise, you then could have a second macro remove it from anywhere that it appears in the document.

    This sounds as though it could be a fun project, but it might be safer to get into the habit of using the Spell check button and working through the errors interactively rather than potentially messing up your document's formatting.

  5. #5
    Star Lounger
    Join Date
    Dec 2009
    Location
    Buenos Aires, Argentina
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So it is not easy to do it...
    Do you know some add-on that can do this job? or a Macro that is already done?

  6. #6
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts
    Quote Originally Posted by didadocom View Post
    And how you do that?
    I don't know how to make a macro.
    See http://word.mvps.org/FAQs/MacrosVBA/...pellErrors.htm and http://word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm.
    Charles Kyle Kenyon
    Madison, Wisconsin

  7. #7
    Star Lounger
    Join Date
    Dec 2009
    Location
    Buenos Aires, Argentina
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I found this macro. It highlights all spelling errors in yellow. And it works!

    Sub MissSpelling()
    Dim i As Integer
    For i = 1 To ActiveDocument.Range.SpellingErrors.Count
    ActiveDocument.Range.SpellingErrors(i).HighlightCo lorIndex = wdYellow
    Next i
    End Sub


    I will try other combinations and post them here.
    Last edited by didadocom; 2011-10-09 at 12:28. Reason: Code excerpt surrounded with [code][/code] tags.

  8. #8
    4 Star Lounger
    Join Date
    Jan 2010
    Location
    Chichester, UK
    Posts
    401
    Thanks
    1
    Thanked 10 Times in 9 Posts
    Just change wdYellow to any colour you prefer if yellow is hard to see on your screen.

  9. #9
    Star Lounger
    Join Date
    Dec 2009
    Location
    Buenos Aires, Argentina
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I also found this macro and after testing I changed some things.
    It allows to highlight misspelled words in bold red with a yellow background.

    Sub HighlightMisspelledErrors()
    Dim rng As Range
    Dim docSourse As Document
    Set docSource = ActiveDocument
    For Each rng In docSource.SpellingErrors
    rng.Font.Color = wdColorRed
    rng.Font.Bold = True
    rng.HighlightColorIndex = wdYellow
    Next
    End Sub

    This one does the same thing and also copies all the misspelled words to a new document in order to add/use them in the Spelling Corrector.

    Sub HighlightAndListMisspelledErrors()
    Dim rng As Range
    Dim docSourse As Document
    Dim docNew As Document
    Set docSource = ActiveDocument
    Set docNew = Documents.Add
    For Each rng In docSource.SpellingErrors
    rng.Font.Color = wdColorRed
    rng.Font.Bold = True
    rng.HighlightColorIndex = wdYellow
    docNew.Range.InsertAfter rng.Text & vbCr
    Next
    End Sub
    Last edited by didadocom; 2011-10-09 at 12:36.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •