What does "= R [-115] C" mean in VBA for Excel 2011 on Mac?
1 answer
This is the offset from the cell where the formula resides. The example you posted ...
"=R[-115]C
"
... would be offset by -115 rows in the same column, so it would be equivalent =F56
.
You can do the same with columns. It...
Range("A1").Select
ActiveCell.FormulaR1C1 = "=RC[1]"
... will give you the formula =B1
.
+4
source to share