Hi,
My problem stems from bad practice, that much I know, but I'm wondering if there's a simple solution to it or not.
Essentially, I have an archive sheet that contains my starting data set.
I then copy the used range of this archive to my Data sheet, then go through each record, deleting it based on some variables (purging bad data). The remaining records are then converted to a table with the name TasksData.
The archive is updated daily, the macro responsible for this also calls the sub that handles the Data sheet. For simplicity, I have been using Data.Cells.ClearContents to completely remove everything from the sheet, and rebuild it from scratch.
When I initially built this, I just wanted to get something working quickly (the code to delete is much simpler than adding to a table). Obviously it has several flaws, but the main one is that formula references to TasksData break. Is there a simple solution to this (turning off recalculation on the sheet with formulas in question?) or will I have to "do it properly" and stop deleting the table, but add to it instead?
Thanks
My problem stems from bad practice, that much I know, but I'm wondering if there's a simple solution to it or not.
Essentially, I have an archive sheet that contains my starting data set.
I then copy the used range of this archive to my Data sheet, then go through each record, deleting it based on some variables (purging bad data). The remaining records are then converted to a table with the name TasksData.
The archive is updated daily, the macro responsible for this also calls the sub that handles the Data sheet. For simplicity, I have been using Data.Cells.ClearContents to completely remove everything from the sheet, and rebuild it from scratch.
When I initially built this, I just wanted to get something working quickly (the code to delete is much simpler than adding to a table). Obviously it has several flaws, but the main one is that formula references to TasksData break. Is there a simple solution to this (turning off recalculation on the sheet with formulas in question?) or will I have to "do it properly" and stop deleting the table, but add to it instead?
Thanks