I'm trying to delete a chart in my 2010 code that works in 2000 with chartarea.select, then selection.delete. Is there different code for 2010?
I'm trying to delete a chart in my 2010 code that works in 2000 with chartarea.select, then selection.delete. Is there different code for 2010?
Charts changed back in xl2007.
I can not get you code to work in xl2000 or xl2003 or xl2007.
If the chart is a chartsheet then
If the chart is a chartobject on a worksheet then![]()
activechart.chartarea.select selection.parent.delete
![]()
activechart.chartarea.select selection.parent.parent.delete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks