Counting and extracting track changes in Word

Two of my favourite Word macros are counting words inserted with track changes and extracting those words to translate them in SDL Trados Studio (or other CAT tool). I mentioned the first macro in a blog post seven years ago when Studio introduced a new feature to show track changes in source segments. The subject cropped up again on Twitter last week and I promised to share the macros in a new blog post.


Macros 101

What is a macro? It’s a sequence of actions bundled into a single command or mouse click to avoid repetitive, time-consuming tasks (like counting inserted words).

How do you install a macro? Read this old but fail-safe post on the Word MVP (Most Valuable Professional) website.

How do you run a macro? In an open Word document, click Alt+F8, select the macro and click Run. If you use a macro often, assign a shortcut or add a button to the ribbon.


Macro 1: Count words inserted with track changes in Word

The macro below returns a fast and reliable result in a pop-up window. I found it in a PC Review forum posted halfway down the page by Jay Freedman, a Word MVP.

Click the image to download the macro in .docx format

The macro will count all new inserted words, but it ignores any deleted text or other changes.

Macro 2: Extract track changes into a new Word document

I use this macro to translate big chunks of inserted text. The macro creates a table in a new document, I remove the deleted words in red and then translate the new text in Studio, taking advantage of the clean interface and my translation memory.

Here’s the link to the original macro, created by DocTools.

A final word about macros and security: macros downloaded from the internet may contain malicious code. Only install third-party macros that have been recommended to you by someone you trust.


This entry was posted in 1. The Basics, SDL Trados Studio and tagged , , , . Bookmark the permalink.

2 Responses to Counting and extracting track changes in Word

  1. sierramar says:

    Thank you very much. I have the impression these two will be really useful to me soon.

  2. Thank you! It might be useful as I work on new versions of SPCs containing track changes.

Comments welcome!

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.