I have written a macro that pastes a chart onto a graph. This worked fine when I was on Excel 2013 but it now crashes in Excel 2016.
The code is as follows:
The error is Run time error '1004': Unable to get the Paste property of the Pictures class.
This occurs on the line that says 'With copiedChart.Pictures.Paste'
This all worked perfectly on Excel 2013 so can anyone help with what I need to change to make it work now.
I have attached the full spreadsheet to explain the problem more clearly. The macro CreateGraphs is run with row numbers from the Data page eg 3 to 4.
Hope this helps explain the problem better.
Thanks
Bookmarks