Private Sub ZobrazitGraf()
Dim Dateiname As String, Graf As Chart
Sheets("graf").Visible = -1
Sheets("graf").Activate
Set Graf = Sheets("graf").ChartObjects(1).Chart
Dateiname = "graf.gif"
Graf.Export Filename:=Dateiname, FilterName:="GIF"
Image1.Picture = LoadPicture(Dateiname)
End Subcitovat