VBA Chart Error: The object is no longer valid

erayza1980

New Member
Joined
Apr 1, 2015
Messages
1
Hello,

I have a Charting AddIn (created in 2004), which formats selected data into different charts. All of the charts work well, except: Pie, Pie of Pie, Bar of Pie and Doughnut. For those types of charts I get the following error:

Error No: 2147483643
Description: This object is no longer valid.


When I click OK, Excel proceeds to format a chart in a classic Excel fashion instead of a style, which is programmed in VBA for that particular chart. I suspect that with this is because of the updated version of Excel, but I might be wrong.

I uploaded the code for 3 modules here:
https://drive.google.com/folderview...ZvT05uenB5bVNZMFRrRlQ5T1EyUkxjNDQ&usp=sharing

I would really appreciate somebody's help on this!
 

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