I'm stumped, it's too early in the morning...
How do I convert this cell calculation =SUM(R7C4:R11C4) into a function? I want to use the R1C1 version, as the row and columns will be variables in the end.
How do I convert this cell calculation =SUM(R7C4:R11C4) into a function? I want to use the R1C1 version, as the row and columns will be variables in the end.
Rich (BB code):
Function Test()
Dim num as integer
num = WorksheetFunction.Sum(Sheets("Sheet1").????????)
End Function