Hey All,
Would you be so kind please and help me figure out why the below code only works from time to time but more often than not throws the 1004 error?
All I'm trying to do is copy charts without links from one workbook to another.
Please kindly note a similar version of this question has also been posted here: Copy Charts to new Workbook and Un-link Chart Data
Many thanks!
Would you be so kind please and help me figure out why the below code only works from time to time but more often than not throws the 1004 error?
All I'm trying to do is copy charts without links from one workbook to another.
VBA Code:
Sheets.Add(After:=Sheets(name1)).Name = charts
wb.Worksheets(charts).Activate
Cells.Copy
wb2.Worksheets(charts).Activate
ActiveSheet.Pictures.Paste.Select
Please kindly note a similar version of this question has also been posted here: Copy Charts to new Workbook and Un-link Chart Data
Many thanks!
Last edited by a moderator: