Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.gif Excel charts 1

Status
Not open for further replies.

segmentationfault

Programmer
Jun 21, 2001
160
US
Is it possible to get Excel to create .gifs of charts without Saving as HTML, reading the HTML for the image source, and grabbing the referenced gif? I would simply like to indicate which chart, what filename, and what location, and end up with the gif.

I asked this question last week and got no response, but it would still be quite valuable to find an answer.
 
I'm working on the same thing
So far I can't name it, but if you have a pre-existing chart, you can cut it, then insert it as an object (bmp).
After that, you can cut it again and paste as .gif, .jpg and so on.
It's a long way around I'm sure, but wateva it takes!

Let me know if you find a way to name it .
 
The following routine should save the active chart as a Gif image.

Sub ActiveChartToGif()
ActiveChart.Export Filename:="ChartX.Gif", FilterName:="Gif"
End Sub


A.C.
 
Ah, thanks acron. Exactly what I was looking for. I'm completely uninitiated with regards to chart objects. I haven't tested it yet, but will be sure to complain if it doesn't work. [pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top