Sub MAIN

AnzeigeAktualisieren 0
On Error Goto Auffang

REM replace next 200 times with suggestions of WinWord
REM shortcut for german version of WinWord: Alt+d
SendKeys "%{d 200}"

REM delete unknown word (no suggestion)
SendKeys "{ESC}{Entf 2}"

REM call WinWord Dictionary
ExtrasRechtschreibung

Goto Ende

Auffang:
  If Err = 102 Then
    REM MsgBox "Fehler 102 wurde erfolgreich aufgefangen"
    Err = 0
  Else
    Error Err
  End If

Ende:
End Sub

