Hi I'm getting the worksheet error #NAME? when my formula in VBA gets evaluated.
I know that the error is refering to the word cells in the formula, but I don't know how to make Excel accept a formula that is not in the usual ColRow : ColRow format.
Code:
Cells(x + y + 4, "D").Formula = "=sum(cells(x+1 , 4) : cells(x+y+1 , 4))"
Comment