ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Exporting EXCEL Graphs as .gif (image file) using VBA or VB (https://www.excelbanter.com/excel-programming/334113-exporting-excel-graphs-gif-image-file-using-vba-vbulletin.html)

haresh7263

Exporting EXCEL Graphs as .gif (image file) using VBA or VB
 

I am working on a Assignment where I am supposed to provide a facilit
of Exporting the Graph as a .gif image. Sort of SaveAs...

A working code snippet would be really helpful.....

Code could be VBA or V

--
haresh7263Posted from http://www.pcreview.co.uk/ newsgroup acces


Tim Williams

Exporting EXCEL Graphs as .gif (image file) using VBA or VB
 
ActiveSheet.Chartobjects(1).Chart.Export ThisWorkbook.Path &
"\test.gif", "GIF"

Tim


"haresh7263" <haresh7263.1rzdoa@ wrote in message
...

I am working on a Assignment where I am supposed to provide a
facility
of Exporting the Graph as a .gif image. Sort of SaveAs...

A working code snippet would be really helpful.....

Code could be VBA or VB


--
haresh7263Posted from http://www.pcreview.co.uk/ newsgroup access





All times are GMT +1. The time now is 01:24 PM.

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