Hi,
Been looking through board to find help on this issue, but it didn't seem as if the solutions applied..
With Excel 2010, I want to make a macro that:
- allows users to save selection to an image file (bmp, jpg, gif or png)
- with 'invisible' gridlines (ActiveWindow.DisplayGridlines = False)
- saves to network location (\\server\folder path\....)
- with specific filename relative to the scenario (each scenario will have a specific file name)
- overwrites files in destination folder if filename already exists
So, we have a handfull of Excel files in which charts are generated manually (ie. a Gantt style week plan), and we want to include these in some reporting tools as pictures. Reports are generated in SAP BO, and pictures can be loaded into reports as picture urls.
Standard job when updating these charts in Excel, you save and export your chart as picture file to be loaded into auto-generated reports.
Basically, the code seems pretty simple: De-activate gridlines, Take selection and copy/paste to image file on network location, Overwrite existing if already exists
- I'm willing to give on the scenario part if this turns out to bee too complex. Each scenario could have it's own Macro, and these could be linked to from toolbar macro-by-macro.
Any help, please
Thanks,
Christoffer
Been looking through board to find help on this issue, but it didn't seem as if the solutions applied..
With Excel 2010, I want to make a macro that:
- allows users to save selection to an image file (bmp, jpg, gif or png)
- with 'invisible' gridlines (ActiveWindow.DisplayGridlines = False)
- saves to network location (\\server\folder path\....)
- with specific filename relative to the scenario (each scenario will have a specific file name)
- overwrites files in destination folder if filename already exists
So, we have a handfull of Excel files in which charts are generated manually (ie. a Gantt style week plan), and we want to include these in some reporting tools as pictures. Reports are generated in SAP BO, and pictures can be loaded into reports as picture urls.
Standard job when updating these charts in Excel, you save and export your chart as picture file to be loaded into auto-generated reports.
Basically, the code seems pretty simple: De-activate gridlines, Take selection and copy/paste to image file on network location, Overwrite existing if already exists
- I'm willing to give on the scenario part if this turns out to bee too complex. Each scenario could have it's own Macro, and these could be linked to from toolbar macro-by-macro.
Any help, please
Thanks,
Christoffer