Dear all
Is it possible to export a batch of charts to individual image files using VBA?
I have a workbook containing a sheet called 'charts'. On this sheet there are 60 mini charts set up like a sort of dashboard. I am wondering whether it is possible to export each of these charts to a seperate image file using VBA?
The location of the image files would just be a local folder, and the file names could either be automotically numbered (1.jpg, 2.jpg etc) or could be based upon the contents of a series of cells: the way the sheet is set up is that the range D2:G16 each contains the title of a chart. The respective chart is positioned over the cell. I am guessing that since there is no logical link between the chart and the cell (is there?) other than the position on the page, that it would not be possible to use the cell contents as a file name?
If somebody could let me know firstly if it is possible to export a chart to an image file, that would be great. If you are able to offer any help with a script - even better!
many thanks
Rich
Is it possible to export a batch of charts to individual image files using VBA?
I have a workbook containing a sheet called 'charts'. On this sheet there are 60 mini charts set up like a sort of dashboard. I am wondering whether it is possible to export each of these charts to a seperate image file using VBA?
The location of the image files would just be a local folder, and the file names could either be automotically numbered (1.jpg, 2.jpg etc) or could be based upon the contents of a series of cells: the way the sheet is set up is that the range D2:G16 each contains the title of a chart. The respective chart is positioned over the cell. I am guessing that since there is no logical link between the chart and the cell (is there?) other than the position on the page, that it would not be possible to use the cell contents as a file name?
If somebody could let me know firstly if it is possible to export a chart to an image file, that would be great. If you are able to offer any help with a script - even better!
many thanks
Rich