My management wants to impress our client by establishing a quality control process that counts the number of paragraphs, figures, and tables that have changed from one document version to the next. The idea is to show how the number of these types of changes to documents decreases over time through implementation of the process. They want this change-counting method to be applied to all future documents as well as to look back at existing ones and gets counts for those as well.
Using Compare Document seems overly tedious for getting these counts, since it finds more types of changes than we need and it doesn’t list counts by change type. Does anyone know of a method or macro that comes close to doing what my management wants?
Thanks in advance!
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Counting changes to paragraphs, figures, tables (Word2000/SR1)
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Counting changes to paragraphs, figures, tables (Word2000/SR1)
- This topic has 16 replies, 6 voices, and was last updated 21 years, 5 months ago.
AuthorTopicWSgeoric1
AskWoody LoungerNovember 26, 2003 at 6:37 pm #397125Viewing 5 reply threadsAuthorReplies-
Ron M
AskWoody LoungerNovember 26, 2003 at 7:19 pm #749634This is one tool that does the job. It is relatively inexpensive compared with others. Alternatively, I suspect a macro to do this could be quite lengthy; however, I cannot help you with that. Perhaps one of the moderators can. HTH
http://www.softinterface.com/Compare-File-…le-Programs.HTM%5B/url%5D
Ron M
-
WSgeoric1
AskWoody Lounger -
WSgeoric1
AskWoody Lounger -
WSgeoric1
AskWoody LoungerDecember 9, 2003 at 9:31 pm #755158After evaluating DiffDoc and talking to their developers, it turns out that the package can’t count changes the way I need it to. A typical example: A document has five figures in it. If the only change I make is to insert a new figure at the beginning of the document, it will become the new Figure 1. I consider that I have made only one change, even though old Figures 1 through 5 have been renumbered as Figures 2 through 6. DiffDoc counts this situation as 6 total changes (it includes all of the incidental renumberings as changes), and they tell me it can’t be reconfigured to ignore the “incidental” changes. Any quality process I implement using such change counts will be seriously flawed, especially with my large documents. Anyone out there got any suggestions?
-
WSjscher2000
AskWoody LoungerDecember 9, 2003 at 9:43 pm #755168You could write code to count up various types of objects, but it’s not easy to determine whether the count proves anything… You’d almost have to capture all of the user’s actions, i.e., insert figure, delete 25 characters, insert 12 characters, etc. etc., to get any sense at all.
You could do a binary file compare and look for percentage differences. I don’t know any software that does that off the top of my head, but I’m sure it’s out there.
-
WSjscher2000
AskWoody LoungerDecember 9, 2003 at 9:43 pm #755169You could write code to count up various types of objects, but it’s not easy to determine whether the count proves anything… You’d almost have to capture all of the user’s actions, i.e., insert figure, delete 25 characters, insert 12 characters, etc. etc., to get any sense at all.
You could do a binary file compare and look for percentage differences. I don’t know any software that does that off the top of my head, but I’m sure it’s out there.
-
macropod
AskWoody_MVPDecember 10, 2003 at 1:11 am #755206Hi George,
I think you’re likely to end up with a very comples beast if you have documents using heading level numbers, fields etc, and you don’t want to count the incidental changes to them too. Even though you might only insert or delete a numbered para, Word tracks all of the consequential changes and tracks them too. But if you do both an insert and a compensating delete, the tracked change in para numbers disappears. Then you also have the problem that a simple thing like re-ordering paras is treated as both a delete and an insert in each case.
Cheers
Cheers,
Paul Edstein
[Fmr MS MVP - Word] -
macropod
AskWoody_MVPDecember 10, 2003 at 1:11 am #755207Hi George,
I think you’re likely to end up with a very comples beast if you have documents using heading level numbers, fields etc, and you don’t want to count the incidental changes to them too. Even though you might only insert or delete a numbered para, Word tracks all of the consequential changes and tracks them too. But if you do both an insert and a compensating delete, the tracked change in para numbers disappears. Then you also have the problem that a simple thing like re-ordering paras is treated as both a delete and an insert in each case.
Cheers
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
-
-
WSgeoric1
AskWoody LoungerDecember 9, 2003 at 9:31 pm #755159After evaluating DiffDoc and talking to their developers, it turns out that the package can’t count changes the way I need it to. A typical example: A document has five figures in it. If the only change I make is to insert a new figure at the beginning of the document, it will become the new Figure 1. I consider that I have made only one change, even though old Figures 1 through 5 have been renumbered as Figures 2 through 6. DiffDoc counts this situation as 6 total changes (it includes all of the incidental renumberings as changes), and they tell me it can’t be reconfigured to ignore the “incidental” changes. Any quality process I implement using such change counts will be seriously flawed, especially with my large documents. Anyone out there got any suggestions?
-
-
Ron M
AskWoody LoungerNovember 26, 2003 at 7:19 pm #749635This is one tool that does the job. It is relatively inexpensive compared with others. Alternatively, I suspect a macro to do this could be quite lengthy; however, I cannot help you with that. Perhaps one of the moderators can. HTH
http://www.softinterface.com/Compare-File-…le-Programs.HTM%5B/url%5D
Ron M
-
WSJekyl
AskWoody Lounger -
WSJekyl
AskWoody Lounger -
WSStuartR
AskWoody LoungerDecember 10, 2003 at 4:44 am #755252Could you do something using change tracking, or it’s close relative Compare Documents.
This would give you a single document with all changes marked as revisions, you could then use a Macro with code like…
For Each paraNext in ActiveDocument.Content
If paraNext.Revisions.Count > 0 then iParaCount = iParaCount + 1
Next paraNextFor Each tblNext in ActiveDocument.Tables
If tblNext.Revisions.Count > 0 then iTableCount = iTableCount + 1
[Next tblNextI’m not sure how you would do this for figures, if you have been consistent about the placement of captions it might be possible to do something.
StuartR
-
WSgeoric1
AskWoody LoungerDecember 10, 2003 at 5:25 pm #755421I’d like to thank all who responded to my request for the special kind of change counting. Jekyl makes a good point that my management may be overemphasizing the numerical solution and should concentrate on more practical ways to impress the client (a military one, I might add). But I do think that their request for software that reports how 2 documents differ “realistically” (i.e., by ignoring insignificant/incidental changes) is a valid one. In fact the more I think about it the more I’m surprised such a tool doesn’t already exist.
I am going to try Jekyl’s recommendation, DeltaView, next, and maybe CompareRite (or Compare Plug-in?).
Thanks, Stuart, I tried to use your code but since I’m not a VBA expert I got errors. Nor could I tell what the code was designed to do.
Macropod, if I’m reading your “compensating deletions” workaround correctly, it seems to require a lot of effort when dealing with autonumbered figures and tables, and wouldn’t be possible to apply to old documents. Please correct me if I’m wrong about these inferences.
Jscher, I’m still looking into your binary file compare suggestion. -
WSgeoric1
AskWoody LoungerDecember 10, 2003 at 5:25 pm #755422I’d like to thank all who responded to my request for the special kind of change counting. Jekyl makes a good point that my management may be overemphasizing the numerical solution and should concentrate on more practical ways to impress the client (a military one, I might add). But I do think that their request for software that reports how 2 documents differ “realistically” (i.e., by ignoring insignificant/incidental changes) is a valid one. In fact the more I think about it the more I’m surprised such a tool doesn’t already exist.
I am going to try Jekyl’s recommendation, DeltaView, next, and maybe CompareRite (or Compare Plug-in?).
Thanks, Stuart, I tried to use your code but since I’m not a VBA expert I got errors. Nor could I tell what the code was designed to do.
Macropod, if I’m reading your “compensating deletions” workaround correctly, it seems to require a lot of effort when dealing with autonumbered figures and tables, and wouldn’t be possible to apply to old documents. Please correct me if I’m wrong about these inferences.
Jscher, I’m still looking into your binary file compare suggestion.
-
-
WSStuartR
AskWoody LoungerDecember 10, 2003 at 4:44 am #755253Could you do something using change tracking, or it’s close relative Compare Documents.
This would give you a single document with all changes marked as revisions, you could then use a Macro with code like…
For Each paraNext in ActiveDocument.Content
If paraNext.Revisions.Count > 0 then iParaCount = iParaCount + 1
Next paraNextFor Each tblNext in ActiveDocument.Tables
If tblNext.Revisions.Count > 0 then iTableCount = iTableCount + 1
[Next tblNextI’m not sure how you would do this for figures, if you have been consistent about the placement of captions it might be possible to do something.
StuartR
Viewing 5 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
24H2 has suppressed my favoured spider
by
Davidhs
12 minutes ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
8 hours, 7 minutes ago -
MS Office 365 Home on MAC
by
MickIver
1 hour, 56 minutes ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
22 hours, 10 minutes ago -
Flash Drive Eject Error for Still In Use
by
J9438
23 hours, 43 minutes ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
1 day, 17 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
1 day, 17 hours ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
20 hours, 42 minutes ago -
Migrate off MS365 to Apple Products
by
dmt_3904
21 hours, 31 minutes ago -
Login screen icon
by
CWBillow
11 hours, 53 minutes ago -
AI coming to everything
by
Susan Bradley
38 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
2 days, 8 hours ago -
No Screen TurnOff???
by
CWBillow
2 days, 9 hours ago -
Identify a dynamic range to then be used in another formula
by
BigDaddy07
2 days, 9 hours ago -
InfoStealer Malware Data Breach Exposed 184 Million Logins and Passwords
by
Alex5723
2 days, 21 hours ago -
How well does your browser block trackers?
by
n0ads
2 days, 7 hours ago -
You can’t handle me
by
Susan Bradley
6 hours, 18 minutes ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
2 days ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
3 days, 8 hours ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
2 days, 12 hours ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
3 days, 9 hours ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
3 days, 9 hours ago -
Lumma malware takedown
by
EyesOnWindows
2 days, 21 hours ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
3 days, 17 hours ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
3 days, 17 hours ago -
Meet Gemini in Chrome
by
Alex5723
3 days, 21 hours ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
3 days, 22 hours ago -
Trump signs Take It Down Act
by
Alex5723
4 days, 6 hours ago -
Do you have a maintenance window?
by
Susan Bradley
2 days, 10 hours ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
3 days, 8 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.