I was hoping someone has an answer for this.
I have a chart that I want to copy and paste as an image on a new worksheet. The excerpt (bottom) works fine except that I want to paste it as a new worksheet NOT on top of a new worksheet. You can do this when moving a chart as new worksheet using
but I'm a bit confused as to how to copy the chart as an image and then insert it as a new worksheet.
Any help (as always) is greatly appreciated.
Working Code that pastes as image onto new worksheet.
I have a chart that I want to copy and paste as an image on a new worksheet. The excerpt (bottom) works fine except that I want to paste it as a new worksheet NOT on top of a new worksheet. You can do this when moving a chart as new worksheet using
VBA Code:
ActiveChart.Location Where:=xlLocationAsNewSheet
Any help (as always) is greatly appreciated.
Working Code that pastes as image onto new worksheet.
VBA Code:
Selection.Copy
Sheets("example").Select
Range("B1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
ActiveSheet.ChartObjects("Chart 3").Activate
ActiveChart.ChartArea.Copy
Sheets.Add After:=ActiveSheet
ActiveSheet.Pictures.Paste.Select