Hi!!
How can I embed a chart that is place in a new sheet in a Userform? I now how to do it if the chart is in an existing sheet,
Set CurrentChart = Sheets("Chart1").ChartObjects(1).Chart
CurrentChart.Parent.Width = Width
CurrentChart.Parent.Height = Height
fname = ThisWorkbook.Path & Application.PathSeparator & "temp.gif"
CurrentChart.Export FileName:=fname, FilterName:="GIF"
imgChart.Picture = LoadPicture(fname)
but this is not what I need... Can someone help me??
Thanks.
How can I embed a chart that is place in a new sheet in a Userform? I now how to do it if the chart is in an existing sheet,
Set CurrentChart = Sheets("Chart1").ChartObjects(1).Chart
CurrentChart.Parent.Width = Width
CurrentChart.Parent.Height = Height
fname = ThisWorkbook.Path & Application.PathSeparator & "temp.gif"
CurrentChart.Export FileName:=fname, FilterName:="GIF"
imgChart.Picture = LoadPicture(fname)
but this is not what I need... Can someone help me??
Thanks.