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!
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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 LoungerWSJekyl
AskWoody LoungerWSStuartR
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
-
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
7 hours, 25 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
3 hours, 9 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
5 hours, 59 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
6 hours, 8 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
6 hours, 51 minutes ago -
Rufus is available from the MSFT Store
by
PL1
4 hours, 20 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 7 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
13 hours, 35 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
9 hours, 46 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 2 hours ago -
Office gets current release
by
Susan Bradley
1 day, 5 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 days, 19 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 4 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days, 20 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 6 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 8 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 8 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 9 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 10 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 days, 22 hours ago -
Enabling Secureboot
by
ITguy
3 days, 5 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
3 days, 18 hours ago -
No more rounded corners??
by
CWBillow
3 days, 13 hours ago -
Android 15 and IPV6
by
Win7and10
3 days, 3 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 6 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 9 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
4 days, 3 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
4 days, 16 hours ago -
May preview updates
by
Susan Bradley
4 days, 3 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 days, 19 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
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.