Excellinginexcel
New Member
Hi
I have a data set that is set out that each column is a day, reading from left to right.
I need to find a VBA whereby on automatically opening the spreadsheet it will look at my data set, and every column that has a date less than today will be 'frozen'.
The problem is that the data in these cells is driven by data in another sheet. As time passes this data will be changed but I want to freeze the historic data so you could look back. If the data is not 'frozen' then in a weeks time when the other sheet is changed, the old data will also change. As the cells are formula driven, the vba would need to copy the current cell contents and re-paste them back in as 'values' rather than 'formulas' if that makes sense??
I have a data set that is set out that each column is a day, reading from left to right.
I need to find a VBA whereby on automatically opening the spreadsheet it will look at my data set, and every column that has a date less than today will be 'frozen'.
The problem is that the data in these cells is driven by data in another sheet. As time passes this data will be changed but I want to freeze the historic data so you could look back. If the data is not 'frozen' then in a weeks time when the other sheet is changed, the old data will also change. As the cells are formula driven, the vba would need to copy the current cell contents and re-paste them back in as 'values' rather than 'formulas' if that makes sense??