Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

_Document.GrammaticalErrors Property

Returns a ProofreadingErrors collection that represents the sentences that failed the grammar check on the specified document or range.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

ProofreadingErrors GrammaticalErrors { get; }

There can be more than one error per sentence.

If there are no grammatical errors, the Count property for the ProofreadingErrors object returned by the GrammaticalErrors property returns 0 (zero).

Community Additions

ADD
Show:
© 2015 Microsoft