ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Saving a chart as a JPG file (https://www.excelbanter.com/excel-programming/308633-saving-chart-jpg-file.html)

Al[_13_]

Saving a chart as a JPG file
 
Hi

I am running Excel XP.

Is there a way to programmatically save each chart on a workbook as a
separate JPG or other graphics file?

Thanks in advance



Frank Kabel

Saving a chart as a JPG file
 
Hi
see:
http://j-walk.com/ss/excel/files/charttools.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Al" schrieb im Newsbeitrag
...
Hi

I am running Excel XP.

Is there a way to programmatically save each chart on a workbook as a
separate JPG or other graphics file?

Thanks in advance




Don Guillett[_4_]

Saving a chart as a JPG file
 
these should help.
Sub ExportChartGIF()
ActiveChart.Export Filename:="C:\a\MyChart.gif", _
FilterName:="GIF"
End Sub
Sub ExportChartJPG()
ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub

--
Don Guillett
SalesAid Software

"Al" wrote in message
...
Hi

I am running Excel XP.

Is there a way to programmatically save each chart on a workbook as a
separate JPG or other graphics file?

Thanks in advance






All times are GMT +1. The time now is 02:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com