I have sheet with a table column that uses the cell above to keep a running value:
=IF(ROW()-ROW(Trades[#Headers])=1, $N$6+S9,SUM([@[Trade Profit]]+X8)) - this is the first in the databody column (X9).
I also have a need to delete older rows at the top of the sheet. The top cell works after deletion but all the remaining rows have a #ref! error in place of the X cell at the end.
I have tried all kinds of things like:
WS.Range("X9").Copy
WS.Range("X10:" & (RowCount + 9)).PasteSpecial Paste:=xlPasteFormulas
Any ideas.
=IF(ROW()-ROW(Trades[#Headers])=1, $N$6+S9,SUM([@[Trade Profit]]+X8)) - this is the first in the databody column (X9).
I also have a need to delete older rows at the top of the sheet. The top cell works after deletion but all the remaining rows have a #ref! error in place of the X cell at the end.
I have tried all kinds of things like:
WS.Range("X9").Copy
WS.Range("X10:" & (RowCount + 9)).PasteSpecial Paste:=xlPasteFormulas
Any ideas.