JasonLeVan
Board Regular
- Joined
- Feb 7, 2011
- Messages
- 121
Sub userchart248()
Set Currentchart = Sheets("248chart").ChartObjects(1).Chart
fname = ThisWorkbook.Path & "\248chart.gif"
Currentchart.Export Filename:=fname, filtername:="GIF"
End Sub
here is a code i am using to take a chart that is on tab 248chart and save it to a image, i would then like to put that image into a userform which i can do, my problem is when the image is changed and resaved i pull up the old image not the new one in my userform, how can i make the userform reload, or refresh that image
Set Currentchart = Sheets("248chart").ChartObjects(1).Chart
fname = ThisWorkbook.Path & "\248chart.gif"
Currentchart.Export Filename:=fname, filtername:="GIF"
End Sub
here is a code i am using to take a chart that is on tab 248chart and save it to a image, i would then like to put that image into a userform which i can do, my problem is when the image is changed and resaved i pull up the old image not the new one in my userform, how can i make the userform reload, or refresh that image