ProofreadingErrors.Type (Word)

Returns the type of proofreading error.

Possible Values are wdGrammaticalError - Grammatical error, wdSpellingError - Spelling error.
Dim wpeType As WdProofreadingErrorType
wpeType = ActiveDocument.SpellingErrors.Type