ReadabilityStatistic.Value Property

Word Developer Reference

Returns the value of the grammar statistic. Read-only Long.

Syntax

expression.Value

expression   Required. A variable that represents a ReadabilityStatistic object.

Example

This example checks the grammar in the active document and then displays the Flesch reading-ease index.

Visual Basic for Applications
  ActiveDocument.CheckGrammar
MsgBox ActiveDocument.ReadabilityStatistics( _
    "Flesch Reading Ease").Value

See Also