Sign in
    Shared Email Templates

    Outlook email templates with fillable fields for numbers

    In this article

    To create custom input fields that accept only numbers, use the WhatToEnter macro. Follow these steps:

    1. Start creating or editing your template, place the cursor where you’d like to add a field for numeric values, and then select the Insert macro button on the template editor toolbar.

      The Insert macro button
    2. Select What to enter (WTE).

    3. The What to enter dialog will automatically show up.

      On the General tab, select Number, enter the field name, and specify a default value.

      The General tab for Number in the What to enter dialog

      On the Advanced tab, you can:

      • Specify the value to insert into an email message if the result returned by the WhatToEnter macro is not empty.
      • Specify the value to insert into an email message if the result returned by the WhatToEnter macro is empty.
      • Enter a minimum value.
      • Enter a maximum value.

      On the 123 tab, you can select a language, specify the number of decimal places, and choose whether to use a thousands separator.

      When you’re done, select OK.

    4. When the macro placeholder appears in your template, select Save.

      A custom input field for a numeric value

    Each time you use the template to compose your email, a dialog will appear so you can enter the number you need for your message. Enter the necessary value and select OK.

    A pop-up dialog for entering a numeric value