Lene Fredborg, DocTools, har hvert år siden 2008 modtaget den prestigefyldte pris som Microsoft Most Valuable Professional (MVP) i Word – link til information om MVP Award'en DocTools - dokumentautomatisering - add-ins, makroer og skabeloner til Microsoft Word (logo) Dokumentautomatisering
Add-ins & Makroer
Til Microsoft Word
Dokumentautomatisering, skabeloner (templates), add-ins og makroer til Microsoft Word (grafik)

Bogmærk denne side | Tip en ven om DocTools

Søg thedoctools.com:

Custom Search

Macro and add-in ready for use...

Macro – Extract Tracked Changes to New Document

You may wish to get en overview of tracked changes (revisions) in a document. You can print the changes by selecting "List of Markup" in the "Print What" field in the Print dialog box. However, you may want the overview in electronic form. Here you will find both a macro and a free Word add-in that lets you extract the tracked changes to a new document. Note that only insertions and deletions will be included whereas other types of changes (formatting changes etc.) will be skipped. Also note that the macro will only include insertions and deletions in the main body of the document (i.e. changes in headers, footers, footnotes and endnotes will not be included).

You are welcome to use the macros and Word tips provided on this website. The contents is copyright. You are not allowed to publish any of the contents as your own.

Instead of installing the macro available on this page you may be interested in the following:

Free Word add-in that lets you extract
acronyms, bookmarks, tracked changes and comments

DocTools ExtractData - a free add-in for Word

DocTools ExtractData is an add-in for Microsoft Word that is provided free of charge.

The add-in requires Microsoft Word 2007, 2010, 2013 on PC.

The add-in lets you easily extract the following types of data from the active document to a new document:



Bullettracked changes


The extracted data, incl. additional metadata, will be listed in a table for easy overview.

DocTools ExtractData adds a set of tools to a custom tab, DocTools, in the Ribbon. The tools can be accessed from the group Extract Data in the DocTools tab. The DocTools tab may also contain tools from other add-ins provided by DocTools.

The result of extracting acronyms, tracked changes and comments are slightly improved versions of the results you get by using the free macros available on this website. The functionality for extracting bookmarks is available in the add-in only.

How to get the DocTools ExtractData add-in for free

Click the link below to learn more about DocTools ExtractData. You can download the add-in for free.

BulletGo to the DocTools ExtractData add-in on www.wordaddins.com

Add-in for generating list of acronyms and abbreviations, incl. definitions

The functionality for extracting acronyms included in the DocTools ExtractData add-in finds and extracts acronyms consisting of 3 or more letters. It does not extract any definitions. If you are working with large documents with many abbreviations and acronyms you should have a look at the Acronyms Master add-in. I was actually working on an advanced add-in for extracting acronyms including their definitions when I found Acronyms Master developed by Alexander Becker. After having tested Acronyms Master I decided to refer to that add-in instead - it is easy to use, affordable and includes all the functionality you need.

You can try out Acronyms Master for free.

Acronyms Master

Read below if you want to use the macro instead of the add-in:

About the tracked changes document that is created

The document with the extracted tracked changed will include a header with the following information:

BulletFull name of the document from which the changes were extracted
BulletName of the document creator
BulletCreation date

The tracked changed and metadata will be filled into a 6-column table. For each tracked change, the table will show:

BulletPage number
BulletLine number
BulletThe type of change
BulletThe text that was inserted or deleted
BulletName of the author who made the change
BulletThe date the change was made

See the illustrations below.

Example of a document with changes made by different authors

Figure 1. Example of a document with changes made by different authors. In this example, the insertions and deletions are shown with underline/strikethrough. However, when running the macro, it does not matter how or whether tracked changes are shown.

The tracked changes from the example above have been extracted to a new document

Figure 2. The tracked changes from the example in Figure 1 have been extracted to a new document. If a footnote or endnote reference has been inserted or deleted, the text "[footnote reference]" or "[endnote reference]" will be shown where such reference was found. In order to make it easy to distinguish between deletions and insertions, inserted text will be applied black font color whereas deleted text will be applied red font color.

Note that you may need to change the table layout. Among other factors, the result will depend on your default table settings.

Alternative method – print tracked changes to PDF

You can create a PDF file that contains the tracked changes. The layout and contents of the PDF file will correspond to the version you can print on paper by selecting "List of Markup" in the "Print What" field in the Print dialog box. In order to print to PDF instead of paper, you need to select the installed PDF printer (e.g. "Adobe PDF") in the Print dialog box.

Note that the exact look of the printed tracked changes depends on your currently selected settings in Tools > Options > Track Changes tab.

Related information

See general information about VBA macros and code snippets, incl. information about how to install macros.

For a macro that can extract all comments from the active document, see "Extract comments to new document".

You may also be interested in MVP Shauna Kelly's article "How does Track Changes in Microsoft Word work?".

Top of page

Back to Macros...

Copyright © 2006-2016 Lene Fredborg – DocTools ApS – alle rettigheder forbeholdt | Microsoft Word skabeloner (templates) – add-ins – VBA makroer | Spar tid og arbejd mere effektivt i Microsoft Word
Privat politik | Betingelser for brug | Om cookies | Bogmærk denne side | Tip en ven | Links | Kontakt
Valid HTML 4.01 Transitional – klik på ikonet for a validere denne side   Valid css information – klik på ikonet for at validere Style Sheetet for dette websted