Sign in
    Shared Email Templates

    Nested macros in your Outlook email templates

    In this article

    If you want to combine two macros making them work together, just nest one of them within the other.

    Suppose you’d like not only to automatically fill in the Subject line with some text but also to have the opportunity to change this text if necessary. In this case, you’ll need to nest the WhatToEnter macro in the Fill macro.

    1. In the template you’re creating or editing, select the The Insert macro button Insert macro button on the template editor toolbar.

    2. Select Fill Subject.

    3. In the Fill Subject line dialog, select the Insert nested macro button.

      The Insert nested macro button
    4. Select What to Enter (WTE).

    5. Fill in the fields that the What to enter dialog contains.

      The WhatToEnter macro that is going to be nested
    6. When you’re finished, select OK.

    7. In the Fill Subject line dialog, select OK.

      The nested WhatToEnter macro
    8. Save the template.

    When inserting such a template into your email message, you’ll see a dialog showing your default text for the Subject line. Change that text if you want to, and then select OK.

    The nested WhatToEnter macro in action