inkara
03-25-2009, 04:35 AM
hi
i am very very new in VBA and like it very much
i have started using it 2 days ago
i am trying to understand the simplest syntaxis rules, and very confused many times:banghead:
my question is writing some formulas or different texts into a selected cell or range
i can not understand the difference between. both work same for me :(
can you please help me to understand. what is the purpose of R1C1 in first case, and what can be replaced there and what will change if we put smth else there
thanks in advance
1-
Cells(2, 2).Select
Selection.Activate
ActiveCell.FormulaR1C1 = "not inkara"
2 -
Cells(2, 2).Select
Selection.Activate
ActiveCell.Formula = "not inkara"
i am very very new in VBA and like it very much
i have started using it 2 days ago
i am trying to understand the simplest syntaxis rules, and very confused many times:banghead:
my question is writing some formulas or different texts into a selected cell or range
i can not understand the difference between. both work same for me :(
can you please help me to understand. what is the purpose of R1C1 in first case, and what can be replaced there and what will change if we put smth else there
thanks in advance
1-
Cells(2, 2).Select
Selection.Activate
ActiveCell.FormulaR1C1 = "not inkara"
2 -
Cells(2, 2).Select
Selection.Activate
ActiveCell.Formula = "not inkara"