I would have to guess that your chartImage variable is the same each time you call DeleteChartObject, and once the first time it is deleted, subsequent calls do nothing.
Show the related code where you create the ChartImage, add it to the chart using AddChartObject, and delete it using DeleteChartObject. |