O
Otto Moehrbach
Excel 2002, Win XP
When I record the macro to simply put:
=A1+B1
in a cell, I get:
ActiveCell.FormulaR1C1 = "=RC[-2]+RC[-1]"
This macro does put =A1+B1 like I want, but why is the actual code written
in R1C1 style? It is difficult to read later. I realize that I can
manually change the code line to look like I want, but in a complex formula
this can be tiresome and prone to errors. Thanks for your help. Otto
When I record the macro to simply put:
=A1+B1
in a cell, I get:
ActiveCell.FormulaR1C1 = "=RC[-2]+RC[-1]"
This macro does put =A1+B1 like I want, but why is the actual code written
in R1C1 style? It is difficult to read later. I realize that I can
manually change the code line to look like I want, but in a complex formula
this can be tiresome and prone to errors. Thanks for your help. Otto