Private Sub CheckBox1_Change()
DoEvents
Call SaveChart
End Sub
Private Sub CheckBox2_Change()
DoEvents
Call SaveChart
End Sub
Private Sub CheckBox3_Change()
DoEvents
Call SaveChart
End Sub
Private Sub UserForm_Initialize()
Call SaveChart
End Sub
Sub SaveChart()
Dim MyChart As Chart
Dim Fname As String
Fname = ThisWorkbook.Path & "\temp1.gif"
Set MyChart = Sheets("Data").ChartObjects(1).Chart
MyChart.Export Filename:=Fname, FilterName:="GIF"
Me.Image1.Picture = LoadPicture(Fname)
End Sub