Using array to track chart indexes

ajchriston

New Member
Joined
Jun 3, 2013
Messages
2
Hey guys, I am having some trouble figuring out the best way to approach this problem. I need to create 1-6 tables on one sheet from 1-6 data sets on the same sheet. to create the charts, I use a button that runs a macro to make the chart. I also have a "reset button" which deletes the chart of the appropriate data set and lets you change some values and recreate it. My issue is when you delete them out of order, the indexes of the charts get messed up. Is there anyway to refer to the chart in a different way that isn't automatically changed when one is created or deleted (like a name). Or can I somehow use an array to keep track of the different charts?

Anything helps!!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

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