• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

charts

Hi pstol


You can export charts as image


For exemple, if you have a chartobject in your active worksheet, this code will export the chart into the folder where your workbook is stocked

[pre]
Code:
Sub ExportChartObject()

ActiveSheet.ChartObjects(1).Chart.Export ThisWorkbook.Path & "MyChart.gif"
End Sub
[/pre]

Regards
 
Back
Top