Сomplete list of macros for templates

In Shared Email Templates for Outlook

The Shared Email Templates macros are created to help you avoid repetitive actions in your routine correspondence. For example, instead of pasting a certain email address into the Cc or Bcc field, adding some text to the Subject line, attaching the same file to your messages over and over again, you can just insert a macro and do that only once.

In the list below, click on the macro of interest to see its description, syntax, and examples of use.

Your purpose Macros you need
To change the email message or calendar appointment fields and body Add
Adds the specified text to the specified field.

Fill
Fills the specified field with the specified text.

Insert
Inserts the contents of the specified field into the macro position in the email message body or calendar appointment description.

InsertPicture
Inserts the specified picture into the macro position in the email message body or calendar appointment description.

To attach files Attach
Attaches the specified file to the current email message or calendar event.
To return values from datasets DatasetValue
Inserts the text of the specified dataset column by the specified key value.
To create interactive fields WhatToEnter
Adds interactive fields to your templates.

WhatToAttach
Asks the user to attach a local file when the user is inserting the current template.

To use regular expressions RegexMatch
Inserts the specified text if the specified field contains a string that matches the specified regular expression.

RegexExtract
Extracts text from the specified field by the specified regular expression.

To add merge fields MergeField
Inserts the contents of the specified column of the mail merge distribution list.
Extra DisableIf
Stops the current template from being inserted if the specified field contains the specified text.

Note
Adds comments to your templates.

Clear
Clears the entire email message body or calendar appointment description before the current template is inserted.