Saving chart as jpg in 97

M

Mari

How can I save a excel chart using VB 6.0 in office 97? I
am able to export it in later versions but not in '97. Any
body have any suggestions for my? Many thanks!! Sunbizkitz
 
D

Don Guillett

try this to export your active chart to a folder named A

Sub ExportChartJPG()
ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub
 
M

Mari

It work!
Thank you very Much!!!
-----Original Message-----
try this to export your active chart to a folder named A

Sub ExportChartJPG()
ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub
--
Don Guillett
SalesAid Software
(e-mail address removed)
Sunbizkitz


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top