Skip to content
  • There are no suggestions because the search field is empty.

Add an image to a Merge Template created in MS Excel

The typical "insert_image" tag only works for Microsoft Word and PowerPoint. For Excel, you need to add a placeholder image instead.

When you create Merge Templates in MS Excel, most standard field tags work just like they do in MS Word. Images are the exception.

Instead of the standard "insert_image" tag, you add a placeholder image where you want your real image to go, plus a modified merge tag.

Tag Setup

In this example, you want to add your company logo to an MS Excel Merge Template. The standard merge tag for an MS Word Merge Template is:

  • {$projectteam_company_logo|insert_image:0:80}

If you use that tag in MS Excel, you will not get the correct result. For MS Excel, add a placeholder image and include a modified tag somewhere else in your Merge Template.

The modified merge tag looks like this:

  • {$projectteam_company_logo|image:1:png}

The beginning of the tag matches the standard tag, but the text after the pipe character is different. Each section is separated by a colon:

  • "image" tag
  • Number: the placement of the image on your worksheet (1 means the first image, 2 means the second image, and so on)
  • File extension: must match the file extension of the actual image you want to merge (in this example, the company logo)

Example

If you use the standard merge tag in MS Excel, the merged result shows the image link as text instead of the image:


To fix this, add two items:

  • Placeholder image
  • Modified merge tag

Placeholder image

Your placeholder image can be any image. You can use one of the samples below (PNG and JPEG). Right-click the image, choose Copy image, then paste it into your MS Excel Merge Template.

You can resize the placeholder image by dragging its sides or corners. The text inside the sample images does not affect anything.

Note: If your Merge Template has more than one image, each placeholder image must be a different size (even by 1 pixel). Stretch each placeholder image differently.

Modified merge tag

If your company logo is a PNG image and it is the only image on your Merge Template, use this tag:

  • {$projectteam_company_logo|image:1:png}

You can add the tag anywhere on your Merge Template, but it is easiest to keep track of if you place it near the placeholder image. The tag text does not show in the merged result.

After you upload the template and merge a form to it, the logo replaces the placeholder image:

Other image tag examples

  • Signature: {$projectteam_user_signature|image:1:png}
  • Project Logo: {$projectteam_project_logo|image:1:png}
  • Company Logo: {$projectteam_company_logo|image:1:png}

Note: When you add more than one image to your Excel Merge Template, change the "Number" and "File extension" sections of each tag to match.