I am trying to add a formula to a cell. The macro is adding quotations around the cell range, which causes the cell to return the #name error.
This is the code in th
The RC[-2] seems to be the problem. When I replaced that with a normal cell reference the macro didn't put quotes around the A7 and D30.