ReadabilityStatistic Object

Microsoft Word Visual Basic

ReadabilityStatistic Object

         
Multiple objects ReadabilityStatistics (ReadabilityStatistic)

Represents one of the readability statistics for a document or range. The ReadabilityStatistic object is a member of the ReadabilityStatistics collection.

Using the ReadabilityStatistic Object

Use ReadabilityStatistics(index), where index is the index number, to return a single ReadabilityStatistic object. The statistics are ordered as follows: Words, Characters, Paragraphs, Sentences, Sentences per Paragraph, Words per Sentence, Characters per Word, Passive Sentences, Flesch Reading Ease, and Flesch-Kincaid Grade Level. The following example returns the character count for the active document.

Msgbox ActiveDocument.Content.ReadabilityStatistics(2).Value