Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Only Showing Readability Statistics.

Only Showing Readability Statistics

by Allen Wyatt
(last updated June 26, 2018)

9

When you do a grammar check on your document, the very last step performed by Word is to display a set of readability statistics that you can use to analyze the presentation of your content. There may be times when you want to only display the readability statistics, without going through the complete grammar check first. Unfortunately, Word does not provide a way to do this. You can, however, create a macro that will display the readability statistics quite nicely. The heart of such a macro would be the ReadabilityStatistics collection.

To get an idea how such a macro could be written, consider the following single-line macro:

Sub CheckTest()
    MsgBox ActiveDocument.Content.ReadabilityStatistics(9).Value
End Sub

This macro displays a number that represents the Flesch Reading Ease value, ninth member of the ReadabilityStatistics collection. There are 10 individual elements in the collection, as follows:

Index Meaning
1 Words
2 Characters
3 Paragraphs
4 Sentences
5 Sentences per Paragraph
6 Words per Sentence
7 Characters per Word
8 Passive Sentences
9 Flesch Reading Ease
10 Flesch-Kincaid Grade Level

To display all ten statistics (as would be done in a complete grammar check of your document), all you need to do is have your macro step through the various members of the collection and display their values. The following macro does just that:

Sub Readability()
    Dim DocStats As String
    Dim MBTitle As String
    Dim J As Integer

    MBTitle = "Readability Statistics"
    DocStats = ""
    With ActiveDocument.Content
        For J = 1 to 10
            DocStats = DocStats & .ReadabilityStatistics(J)
            DocStats = DocStats & ": "
            DocStats = DocStats & .ReadabilityStatistics(J).Value
            DocStats = DocStats & vbCrLf
        Next J
    End With
    MsgBox DocStats, vbOKOnly, MBTitle
End Sub

When you run the macro, understand that it takes a bit of time to run. In fact, depending on the speed of your system, the length of your document, and its complexity, it can take quite a bit of time to run. Be patient; once the ten statistics are completed, they are displayed on the screen.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10666) applies to Microsoft Word 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Word here: Only Showing Readability Statistics.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Printing Shortcut Key Assignments from a Macro

Need to know what shortcut keys are defined? You can use a single macro command line to print out the definitions.

Discover More

Getting Rid of Blue Squiggly Underlines

In an effort to make your writing better, Word uses "squiggly" underlines to mark things it thinks you may need to ...

Discover More

Setting Consistent Column Widths in Multiple Tables

Tables are great for organizing and presenting information in a document. If you have a document containing multiple ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Checking Up On Numbers

When do you use digits in your prose and when do you spell out the numbers? Why not let Word help you make the decision? ...

Discover More

Setting Grammar-Checking Options

When Word checks the grammar it thinks you are using in your prose, it follows a set of rules. Fortunately, the program ...

Discover More

Incorrect Suggested Correction

As you type your document, Word flags words and phrases it thinks may be incorrect. The source of these various flaggings ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 1 + 3?

2022-06-03 05:22:26

Jim McCallum

Hi Andy,

Wow. Just brilliant. Works a treat. Thank you so much.

Will let my author friends know there's now a solution to getting readability stats by sentence and paragraph in Word 365.

And give you full credit for it.

You also ought to publicise this solution yourself.

With best regards,

Jim


2022-06-02 09:26:07

Andrew

Jim, try this macro. It is the same as Allen's except with the change I suggested and an error-check to make sure that some text is selected.

Andy.

=================

Sub Readability_Selected()
Dim DocStats As String
Dim MBTitle As String
Dim J As Integer

MBTitle = "Readability Statistics"
DocStats = ""

if Selection.Type = wdSelectionIP then
MsgBox "No text is selected.", vbOKOnly, MBTitle
Exit Sub
endif

With Selection.Range
For J = 1 to 10
DocStats = DocStats & .ReadabilityStatistics(J)
DocStats = DocStats & ": "
DocStats = DocStats & .ReadabilityStatistics(J).Value
DocStats = DocStats & vbCrLf
Next J
End With
MsgBox DocStats, vbOKOnly, MBTitle
End Sub


2022-06-01 05:51:09

Jim McCallum

Hi Andy,Thanks for the message and instructions.With my document open, and a sentence selected, I opened the Macros window from the View tab, named the macro Selection.Range as you suggested, and clicked the Create button. It then opened a separate Microsoft Visual Basic for Applications window with - Sub Range ().Selection.Range Macro. End SubGo back to my document with the selected sentence, click Macros on the View tab, click View Macros, and the name and highlighted Macro is now listed as Range. The field Macros in: box has 'All active templates and documents'.I then click the Run button highlighted, and that window disappears, but the Editor does not appear with the readability stats for the sentence.On the document page, click Word Count in the Proofing section and it gives the number of words in the sentence. Click the Editor adjacent to it, and it gives the stats for the whole document only. So the Macro doesn't seem to work - or maybe I'm not doing it right. I've never used Macros before.Aside from this, I also just found that if I right-click on my selected sentence, I get an option to 'Review Selection in Editor'. This apparently is supposed to give me the readability stats for my selection, which is what I want. However clicking on this option, I get a message saying 'We've finished checking your selection. Want to check the rest of the document?' Options, Yes or No. I click No but no Editor comes up with stats for the selection. So, that's not working either. Maybe there's another setting somewhere which is blocking this feature. If so, I'd love to know what it is.Thanks and regards,Jim


2022-05-31 11:13:24

Andrew

Jim, the .ReadabilityStatistics property applies to any Document object or Range object. In this Case, Allen used the Range Object associated with the entire main story of the document (= ActiveDocument.Content). For your purpose, try replacing ActiveDocument.Content in Allen's macro with Selection.Range.

Andy.


2022-05-29 12:29:43

Jim McCallum

Hi Allen,

Found your very interesting website when searching for the answer to my very specific problem with readability stats in Word 365. Hope you can help me find that answer.

I'm a professional writer and just upgraded from Office 2010 to Office 365. To my horror, in Word 365, I now can’t get my readability stats by sentence and paragraph, only by full document. This was one of the greatest tools MS provided. I use it every hour of every day to give my readers the best experience. Why would they upgrade a flagship product and take out a key function? It’s illogical. I now have to use shabby old Word 2010 rather than shiny new Word 365 to get this facility. it’s ridiculous. Feel duped. Is there any way I can get readability stats by sentence and paragraph in Word 365?

I've tried every avenue I can find within MS, but can't get any sensible response. In your opinion, is there an answer, or am I chasing a lost cause?

Regards,

Jim


2020-02-17 22:26:36

AB

Just letting you know that the ndex order has changed in Word 2016. Changes are:
8 = Flesch Reading Ease
9 = Flesch-Kincaid Grade Level
10 = Passive Sentences


2018-07-22 21:25:37

Stella

Hi Allan, I have the same problem as Daniel, the passive sentence count always shows up as 0. If you could help with this, would be very grateful.


2018-02-25 19:26:14

Daniel

Hiya,

This macro doesn't work for (breaks?) the passive voice stat. Any suggestions?


2018-01-08 20:14:48

Susan Uttendorfsky, Adirondack Editing

Yes! Sometimes I need to see this in the middle of an edit and didn't know how to get access to it (other than running a spell check). Again, thank you! :)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.