Excel 2010 Runtime error -2147352571 (80020005)

Largeman

New Member
Joined
Sep 2, 2011
Messages
1
I am working with a workbook developed by a client in Excel 2003 that has a fair sized block of VBA behind it.
It has worked really well up until my company made the move to Office 2010, now the old workbook throws up errors for nearly everything we do.
I'm not sure what errors lay beyond this one, but it's a good start. I have spent 2 days trying to figure this out, I'm still not even close to a solution.

For a change in one of the spreadsheets, some charts are updated. I have tested this with just a simple chart, and it works there, but when I use it in the old spreadsheet, all I see is
Code:
Run-time error '-2147352571 (80020005)':
The specified dimension is not valid for the current chart type.

The line of problems:
Code:
Charts("Grading Curves").SeriesCollection(SeriesName).Values = "=Calcs!R5C" & CalcsColumn & ":R" & XPoints & "C" & CalcsColumn

"Grading Curves" is an XY Scatter chart on it's own sheet.
SeriesName is Text and matches SeriesCollection(1).Name
CalcsColumn is an integer, in this case = 2
XPoints is an integer, in this case = 110

New/Old operating system: XP SP3

Is there anything in anyone's experience that would cause this?

I understand this is a limited amount of code to go by, but being client IP, I can't exactly go flashing it all over the net. Not to mention it's 27 A3 pages double side long :). I could try and get a bit more context if it's required, but I'm hoping that someone has seen this before.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,224,598
Messages
6,179,822
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top