Macro

Roman12

Board Regular
Joined
Jun 10, 2008
Messages
117
My existing file has a macro that puts all the necessary numbers and data into a table. To easier create a chart that is linked to these data, I split the existing table into different tables. Every week, I have to make an update with new data. Thus, each line from the existing line has to be split into one of my new tables. How would the macro look like? Additionaly, the macro should cancel the oldest data from my tables, as I do not want the chart to show more than ten weeks. My chart is linked to the fields C4:H10. Thus the macro should for example delete field C4:H4 and then move the lines up that the new data would be set into C10:H10.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,920
Messages
6,122,272
Members
449,075
Latest member
staticfluids

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