April 2006
Beginner
1114 pages
98h 16m
English
range.FormulaR1C1
Sets or returns a formula for the specified cell or range in R1C1-style notation. It is easier to work with formulas in code using this notation. The following code sets a formula for cell E1:
ActiveSheet.Range("E1").FormulaR1C1 = "=Sum(R2C:R[-1]C)"Read now
Unlock full access