S
Sebastian Kress
Hey there,
with the help of some guys here, I managed to create an automated list
of spelling errors in word documents.
I used the following code:
--------
Sub ListSpellingErrors()
Dim lngSpellErrCnt As Long, n As Long, FFile As Integer
lngSpellErrCnt = ActiveDocument.SpellingErrors.Count
FFile = FreeFile 'DateiHandle
Open "C:\SpellErr.txt" For Output As #FFile
For n = 1 To lngSpellErrCnt
Print #FFile, ActiveDocument.SpellingErrors(n).Text
Application.StatusBar = n & " / " & lngSpellErrCnt & " Fehler
verarbeitet..."
Next
Close #FFile
End Sub
--------
It works quite ok, actually, but it's unbelievably slow. Can anyone tell
me why?
Thanks,
Sebastian
with the help of some guys here, I managed to create an automated list
of spelling errors in word documents.
I used the following code:
--------
Sub ListSpellingErrors()
Dim lngSpellErrCnt As Long, n As Long, FFile As Integer
lngSpellErrCnt = ActiveDocument.SpellingErrors.Count
FFile = FreeFile 'DateiHandle
Open "C:\SpellErr.txt" For Output As #FFile
For n = 1 To lngSpellErrCnt
Print #FFile, ActiveDocument.SpellingErrors(n).Text
Application.StatusBar = n & " / " & lngSpellErrCnt & " Fehler
verarbeitet..."
Next
Close #FFile
End Sub
--------
It works quite ok, actually, but it's unbelievably slow. Can anyone tell
me why?
Thanks,
Sebastian