I have a macro that copies a sheet and saves values (Sheet Baseline)
What I have is a formula that call on values from cells in sheet baseline.
"=IF($Y$3<Config!$B$2,BaseLine!O5,BaseLine!N5)" The formula being if Date is less then Date(Config), then o5 else n5 in sheet baseline.
This works fine, but when I run the macro that copies and pastes values into baseline, the formula switches to =IF($Y$3<Config!$B$2,#REF!O5,#REF!N5)
Bookmarks