You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.


Add Word macros

Nils Bier

Nils Bier Last update: Oct 18, 2018

It is possible to upload Word templates containing Word macros. Word macros are little pieces of functionality embedded in Word files which can make handling Word files a lot easier. Word macros are written in Visual Basic and can be used for different purposes such as applying special formatting or calculate values.

For further information, please refer to the MS Office documentation.

Add a Word macro to your Word template

In the following we describe the necessary steps to create a *.docm template executing your macro code whenever the exported document is opened. 

  1. In your Word template, select View > Macros > View Macros.
  2. Enter a name for your macro in the field Macro name.
  3. Select your active document in the Macros in the dropdown.
  4. Click Create and insert your macro code and save.
  5. Select Word Macro-Enabled Document (.docm) in the Save as type drop-down and save.

Allow Word macros in the export settings

To use the template for your exports, you need to enable the Allow Word macros template setting for your export template.

We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.