Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2007

Tip: Looking for answers? Try searching our database.

Flesch Score - programmatically possible

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Iacovou - 23 Oct 2007 18:36 GMT
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.
Shauna Kelly - 24 Oct 2007 10:44 GMT
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

> Hi all.
>
[quoted text clipped - 13 lines]
> maybe
> i'm looking in the wrong place. any guidance greatly appreciated.
Mike Iacovou - 25 Oct 2007 12:09 GMT
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

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.