Hello all,
At the moment I run a macro to create a new chart in a new worksheet -
This works fine, what I really want though is for this macro to create a new workbook and add the new chart to it without making any changes to the source workbook. Is this possible?
Thanks!
At the moment I run a macro to create a new chart in a new worksheet -
VBA Code:
Sub create_chart_sheet()
Dim oChartSheet As Chart
Set oChartSheet = Charts.Add
oChartSheet.HasTitle = True
oChartSheet.ChartTitle.Text = "CARs By Product"
oChartSheet.HasLegend = False
oChartSheet.SetSourceData Sheets("COUNTS").Range("A3:B51")
End Sub
This works fine, what I really want though is for this macro to create a new workbook and add the new chart to it without making any changes to the source workbook. Is this possible?
Thanks!