A
alldreams
I have this macro that activates chartobject("Chart 1")
However, I like the macro to select whatever chart on the
woooksheet, not just chart 1. How can I do that?
Sub test()
Sheets("CHARTS").Select
ActiveSheet.ChartObjects("chart 583").Activate
ActiveChart.ChartArea.Select
ActiveChart.ChartArea.Copy
Workbooks.Add
ActiveSheet.Paste
'need to figure out how to email this workbook
ActiveWindow.Close
End Sub
However, I like the macro to select whatever chart on the
woooksheet, not just chart 1. How can I do that?
Sub test()
Sheets("CHARTS").Select
ActiveSheet.ChartObjects("chart 583").Activate
ActiveChart.ChartArea.Select
ActiveChart.ChartArea.Copy
Workbooks.Add
ActiveSheet.Paste
'need to figure out how to email this workbook
ActiveWindow.Close
End Sub