Augumented autocorrect in MS word - highlight changed words

0

2

I have early stage Parkinson's disease, which causes me some difficulty typing.

I have been looking for ways to improve MS-Word's (and ideally MS Outlook's) auto-correct facility as there are a lot of mistakes that don't get picked up, and it takes an age to manually correct them all and update the auto-correct list so avoid the same mistake in future - and you would be surprised how many wrong combinations there can be from fat fingered typing (or perhaps not :).

I found this very excellent suggestion elsewhere, which goes a long way towards the solution:

Autocorrect for "fat fingers" - MS Word

however, I am concerned that a word gets replaced with the wrong alternative word which would then have a correct spelling - and hence be missed by later spell checking, leaving potential errors that are hard to find.

I therefore have two questions:

  1. Can someone suggest a mod to the script so that any changed words are highlighted?

  2. Can someone give an idea of whether the script is likely to slow down large documents?

Martyn Rivett

Posted 2013-08-05T18:04:27.230

Reputation: 3

If the answer in that linked SU question helped out you should upvote it :) – Adam – 2013-08-06T04:44:49.760

@Mike, thank you for this, very much appreciated. I will try it out and let you know how it goes. I would upvote it, but as a rank noob I don't have the rights I'm afraid.. – Martyn Rivett – 2013-08-06T13:19:55.143

Answers

1

I don't have Word but I'd try to modify the script as follows:

Sub AutoSpellCheck()
    Dim oSE As Range
    Dim oSC
    For Each oSE In ActiveDocument.Range.SpellingErrors
        Set oSC = oSE.GetSpellingSuggestions
        If oSC.Count > 0 Then
        oSE.Text = oSC(1)
        oSE.HighlightColorIndex = wdYellow
        Else
        oSE.HighlightColorIndex = wdRed
        End If
    Next oSE
End Sub

Misspelled words that are not changed should be highlighted in red; those that are changed should be highlighted in yellow.

I suppose the speed of running the script will depend partly on your computer's processing power.

Mike

Posted 2013-08-05T18:04:27.230

Reputation: 98