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

...introduction continued – Macros

More about the VBA macros and code snippets

If you use the free macros or code snippets from this site, please note that you may need to adjust the code in order to fulfil your needs.

Interested in a customized version of a macro?

Customized versions of macros can be provided on a time and material basis. Please contact DocTools.

Microsoft Word versions

The macros and code snipptes are made for use in PC/Windows versions of Microsoft Word and have been prepared using different versions of Microsoft Word from Word 2003 to Word 2016. The macros can in general be expected to work in all those Word versions unless otherwise specified. Screendumps and descriptions may differ from what you see on your computer if you use another program version. Most of the VBA code will work in older/newer Microsoft Word versions too.

About error handling in the macros

Error handling will be included in some of the macros in order to handle obvious error situations. However, the specific conditions under which you use the macros may require that you implement (additional) error handling.

How to install the macros

Each macro will be available in two different ways:


You can open a separate window that contains the code in HTML format. You can then copy the code and paste it into the Visual Basic Editor. If you paste the code somewhere else, e.g. in a Word document, paste it as unformatted text.


You can download a code module (a .bas file) that includes the macro code. You can then import the code into an existing project in the Visual Basic Editor (via File > Import File).

Code snippets may only be available in HTML format.

You can identify the two options as illustrated below:<7p>

How to identify the two options: VIEW HTML or DOWNLOAD BAS

Where to find help on installing macros?

You will find information about how to install macros here:


In Graham Mayor's "Installing Macros From Listings.

How to work more efficiently with VBA macros

MZ-Tools is an add-in for VBA. In the same way as macros can help you be more productive and make better documents in Word, MZ-Tools can help you be more productive and make better code in VBA.

Top of page

Back to Macros...

BulletADD-INS Word add-ins ready for use - work smarter in Word

Copyright © 2006-2018 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