ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   pie-chart problem using macro.. (https://www.excelbanter.com/excel-programming/353976-pie-chart-problem-using-macro.html)

ashishprem[_6_]

pie-chart problem using macro..
 

Hi Guys,
I wrote one macro to create a pie-chart. Now the problem is whnever 1
run that macro a new pie chart is created. i want the same chart to be
modified or the existing chart to be deleted and to create a new one.
But don't know how to search an existing chart and modify or delete
it.
Please help me.
Regards,
Ashish


--
ashishprem
------------------------------------------------------------------------
ashishprem's Profile: http://www.excelforum.com/member.php...o&userid=31485
View this thread: http://www.excelforum.com/showthread...hreadid=515200


Peter Rooney

pie-chart problem using macro..
 
Hi, AshishPrem,

Why are you running the macro again, once you've created the Pie chart?
If it takes its data from a certain area of the worksheet, if you update the
data, the Pie chart should update itself, too!

Cheers

Pete

"ashishprem" wrote:


Hi Guys,
I wrote one macro to create a pie-chart. Now the problem is whnever 1
run that macro a new pie chart is created. i want the same chart to be
modified or the existing chart to be deleted and to create a new one.
But don't know how to search an existing chart and modify or delete
it.
Please help me.
Regards,
Ashish


--
ashishprem
------------------------------------------------------------------------
ashishprem's Profile: http://www.excelforum.com/member.php...o&userid=31485
View this thread: http://www.excelforum.com/showthread...hreadid=515200




All times are GMT +1. The time now is 05:30 PM.

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