Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub SaveChartAsGIF()
Fname = ThisWorkbook.Path & "\" & ActiveChart.Name & ".gif" ActiveChart.Export Filename:=Fname, FilterName:="GIF" End Sub I'd like to adapt the above code so that it acts on a linked range of data rather than a chart. I created the data range from an existing area of a worksheet using the Camera tool. The objective is to save the data range as a static picture so that I can use it in other applications. It would be more helpful if the macro could refer to these ranges by a name rather than having to manually activate the ranges. I am familiar with the process of renaming a chart object instead of it being called "Chart1" etc I asssume that I would follow the same convention in renaming these linked data ranges. Thanks in advance for any help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Help Converting Hypertext GIFs | Excel Worksheet Functions | |||
Saving data ranges for Vlookups | Excel Discussion (Misc queries) | |||
Drop down list with gifs | Excel Discussion (Misc queries) | |||
Saving files with names from ranges | Excel Programming | |||
Exporting Charts as GIFs | Excel Programming |