Convert XLTM to PNG

Turn XLTM documents into PNG files. Every visible sheet is printed with its own page setup, without running the macros, and each page becomes one PNG, at 150 dpi unless dpi or width says otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XLTM files on the dialor turn it to pick what to do

Each page of an XLTM sheet as a PNG.Every visible sheet is printed and each page becomes one image.

  1. What you get

    One PNG for each printed page. Every visible sheet is printed with its own page setup, so the pages follow the paper size and layout set in the template. The macros are not run.

    The default is 150 dpi. Set Resolution (dpi) to a value from 36 to 600 to change it. Higher is sharper and makes a bigger file, and 300 is the usual choice for print.

  2. What changes or is left out

    Hidden sheets are left out. Wide sheets break across pages, so one sheet can give several PNG files.

    Fonts that are not installed are replaced by similar ones, so the text can look a little different from what you see in Excel.

  3. Choosing pages and size

    Set Pages to convert only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

    Set Width (px) to give the result an exact width in pixels. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched.

    If you need to change the images afterward, you can resize PNG files or merge PNG files into one.

XLTM and PNG.What each format is, and the options this conversion takes.

  1. 01 · dpi

    Resolution (dpi)

    How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    36 to 600 default 150
  2. 02 · pages

    Pages

    Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

  3. 03 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 20000

The formats

From · XLTM

Excel Macro-Enabled Template

An Excel template with macros enabled.

Extensions
.xltm
MIME type
application/vnd.ms-excel.template.macroEnabled.12
Kind
Documents
To · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

In your code.The same XLTM to PNG conversion through the API, for your app or your agent.

terminal
$ cv convert report.xltm report/ --to png
$ cv convert report.xltm report/ --to png

Questions.What people ask about XLTM to PNG.

01OF 04

No. The macros are not run. The sheets are printed and each page becomes a PNG.

You can get several. Each page becomes one PNG, and wide sheets break across pages, so one sheet can give more than one file.

No. Only visible sheets are printed. Hidden sheets are left out.

Yes. Set Pages to a range such as 1-3,7, and only those pages are converted.

More conversions.Other ways in and out of XLTM and PNG.