Convert XLSM to PNG

Turn XLSM 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 XLSM files on the dialor turn it to pick what to do

Each sheet becomes PNG pages.Every visible sheet is drawn as pictures, and the macros do not run.

  1. What you get

    Each page of each visible sheet becomes one PNG, so a workbook can give you several files. Every sheet is printed with its own page setup, and the macros in the XLSM file are not run.

    The resolution is 150 dpi unless you set Resolution (dpi) or Width (px) to something else.

  2. What is left out

    Hidden sheets are not converted. Wide sheets break across pages, so one sheet can come out as more than one PNG.

    Fonts that are not installed are replaced by similar ones.

  3. Options

    Set Resolution (dpi) from 36 to 600. A higher value gives a sharper picture and a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

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

    Set Width (px) to give the exact width of the result, from 1 to 20000. The height follows the aspect ratio unless you also give it, and then the picture can be stretched. To change the size of a PNG afterward, use resize PNG.

XLSM 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 · XLSM

Excel Macro-Enabled Workbook

An Excel workbook with macros enabled.

Extensions
.xlsm
MIME type
application/vnd.ms-excel.sheet.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 XLSM to PNG conversion through the API, for your app or your agent.

terminal
$ cv convert sheet.xlsm sheet/ --to png
$ cv convert sheet.xlsm sheet/ --to png

Questions.What people ask about XLSM to PNG.

01OF 04

No. The sheets are printed without running the macros.

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

Each page becomes one PNG. Wide sheets break across pages, and a workbook can have several visible sheets, so the result is often more than one file.

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

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