View Single Post
 
Old 01-31-2018, 12:46 PM
Regev Regev is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2018
Posts: 1
Regev is on a distinguished road
Question Revisions Sentences Word Count

Hi,

So I've been breaking my head over this for a while now, perhaps somebody here will have an idea how to overcome this.

What I'm trying to achieve is to get a word count from Word, using a macro, to count words of entire sentences, but ONLY for sentences that have revisions ("Track Changes") within them.

This means, the following logic should apply:
1. Look for sentences which have revisions within them (additions or deletions).
2. Count the words of these sentences only
3. Display results

Sounds pretty simple, right? Here's where it get's messy.

First, Word insists on counting paragraphs and line breaks as words. Than, it appears that if I backspace a line up, Word would count the entire line (not sure about the tech logic behind this one). So basically, this produces very inaccurate words counts.

I'm sure there's a simple way to write a macro to handle such a task, but so far I couldn't achieve or find anything to deliver the wanted results.

Perhaps you'll be able to assist?

Thanks in advance!
Reply With Quote