19

Given a chart (normal column chart of whatever), how do I export that chart and only that chart as a PNG?

6 Answers6

18

You can't do this directly from Excel; you need to use an external application:

  1. Select the chart, and then copy it to the clipboard (Ctrl-C).

  2. Open a picture editor that supports saving to PNG.

  3. Do a paste in the picture editor (when copying the chart from Excel 2010, it is recognized as a valid picture on the clipboard). The best will be to paste as new image if the picture editor supports that.

  4. Save as PNG.

einpoklum
  • 10,666
awe
  • 1,119
3

If you're working within the Office environment you don't need any other software, all you need to do is select & copy your chart then choose the Paste Special option. One of those paste options is PNG. The others include:

  • PNG
  • JPEG
  • GIF
  • EMF
  • BMP
  • Microsoft Office Drawing Object

If you need to export outside of the Office environment, then you can use Office Picture Manager. Just paste your chart inside your My Pictures folder (or whereever is most convenient). My charts paste as PNG by default, but if yours don't, you can choose your image and File>Export and choose your file type, inlcuding PNG, from the list.

dav
  • 10,618
2

There's a free, open-source Excel add-in to accomplish that, "Daniel's XL Toolbox" (https://www.xltoolbox.net).

Disclaimer: I'm the author of that tool.

bovender
  • 141
1

Try VBA:

When on the active chart click ALT+F11 or CTRL+G

and type:

Activechart.export "D:\chart.png" (use relevant file location - avoid the system partition)

You can change the file extension as you wish (png, jpeg etc.)

Tom Sti
  • 36
  • 2
0

I usually go via printing/exporting to pdf first as I cannot see how to achieve print quality via the default export methods mentioned above. Once exported to pdf you can export to the desired image format from there via snipping tool or pdf to png command e.g. https://askubuntu.com/questions/50170/how-to-convert-pdf-to-image/50180.

0

For Ubuntu with Excel 2010 on POL/Wine:

  1. Select chart Home->Copy or Ctrl-c. Note that Home->Copy as Picture option does not work for me so first try with the standard copy.
  2. Open Gimp from the Dash. If you don't have Gimp installed, you can use LibreOffice Draw.
  3. Press Ctrl-v to paste.
  4. For Gimp: use File->Export and set the file name and format.
  5. LibreOffice Draw: Select the pasted image, Right-Click->Save Image
Jaydin
  • 231