F
Fan924
I can save charts as a .gif, as a .jpg and as a .png. How about
a .bmp? I have read that it is possible but no one is saying how. I
don' want to use print screan and then crop it. I am currently using
this below. Can it be modified for .bmp (24 bit color)? I am pretty
sure the answer is no but I wanted to consult the experts. Excel 97 &
2000.
Sub Chart_800x600Gif()
Dim MyChart As Chart
Set MyChart = ActiveChart
MyChart.Parent.Width = 600 ' resize the chart *.75
MyChart.Parent.Height = 450 ' actual size 800x600
MyDirectory = Left(ActiveWorkbook.FullName, Len
(ActiveWorkbook.FullName) - Len(ActiveWorkbook.Name))
MyChart.Export FileName:=MyDirectory & "Pics\" & ActiveChart.Name
& ".gif", Filtername:="gif"
End Sub
a .bmp? I have read that it is possible but no one is saying how. I
don' want to use print screan and then crop it. I am currently using
this below. Can it be modified for .bmp (24 bit color)? I am pretty
sure the answer is no but I wanted to consult the experts. Excel 97 &
2000.
Sub Chart_800x600Gif()
Dim MyChart As Chart
Set MyChart = ActiveChart
MyChart.Parent.Width = 600 ' resize the chart *.75
MyChart.Parent.Height = 450 ' actual size 800x600
MyDirectory = Left(ActiveWorkbook.FullName, Len
(ActiveWorkbook.FullName) - Len(ActiveWorkbook.Name))
MyChart.Export FileName:=MyDirectory & "Pics\" & ActiveChart.Name
& ".gif", Filtername:="gif"
End Sub