ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Delete ALL Charts in a WorkSheet (VB) (https://www.excelbanter.com/charts-charting-excel/112777-delete-all-charts-worksheet-vbulletin.html)

Corey

Delete ALL Charts in a WorkSheet (VB)
 
How can i Delete ALL charts on a worksheet by code?

I tried recording a macro but it will only delete the numbered chart.
I need an ALL chart delete code.

any ideas

Corey....

Andy Pope

Delete ALL Charts in a WorkSheet (VB)
 
Hi,

Use with case ;)

activesheet.chartobjects.delete

Cheers
Andy

Corey wrote:
/How can i Delete ALL charts on a worksheet by code?/
//
/I tried recording a macro but it will only delete the numbered chart./
/I need an ALL chart delete code./
//
/any ideas/
//
/Corey..../


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

Corey

Delete ALL Charts in a WorkSheet (VB)
 
thanks
done the job

"Andy Pope" wrote in message
...
Hi,

Use with case ;)

activesheet.chartobjects.delete

Cheers
Andy

Corey wrote:
/How can i Delete ALL charts on a worksheet by code?/
// /I tried recording a macro but it will only delete the numbered
chart./
/I need an ALL chart delete code./
// /any ideas/
// /Corey..../


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info





All times are GMT +1. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com