Hi all.

I know it is possible to get the Flesch readability ease score / grade by
checking the option in grammer & spelling, then running a spell check... the
value is displayed at the end.
Is it possible to force a 'silent' check and programmatically get this
result, or maybe run the check without it prompting user input for any found
problems... it would then run through to end stats...

ActiveDocument.ShowGrammaticalErrors = False
ActiveDocument.ShowSpellingErrors = False

makes no difference... can't seem to find much searching this group... maybe
i'm looking in the wrong place. any guidance greatly appreciated.

Re: Flesch Score - programmatically possible by Shauna

Shauna
Wed Oct 24 02:44:02 PDT 2007

Hi Mike

Try ActiveDocument.ReadabilityStatistics(9).Value

The VBA Help under ReadabilityStatistics has more information.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


"Mike Iacovou" <MikeIacovou@discussions.microsoft.com> wrote in message
news:783F118A-FA8E-4F4F-A3CE-A918D7276C79@microsoft.com...
> Hi all.
>
> I know it is possible to get the Flesch readability ease score / grade by
> checking the option in grammer & spelling, then running a spell check...
> the
> value is displayed at the end.
> Is it possible to force a 'silent' check and programmatically get this
> result, or maybe run the check without it prompting user input for any
> found
> problems... it would then run through to end stats...
>
> ActiveDocument.ShowGrammaticalErrors = False
> ActiveDocument.ShowSpellingErrors = False
>
> makes no difference... can't seem to find much searching this group...
> maybe
> i'm looking in the wrong place. any guidance greatly appreciated.



Re: Flesch Score - programmatically possible by MikeIacovou

MikeIacovou
Thu Oct 25 04:09:00 PDT 2007

many thanks. didn't try the vba help... works nicely.

what is interesting is that the stats for 'passive sentences' fails in
vba... ie

ActiveDocument.Content.ReadabilityStatistics.Item(8).Value - i get '0' for
this. In the grammar & spelling, i get 13%. Any ideas how to get this one ??

Many thanks again

Mike