I have the bellow code:
Columns("A:A").Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Range("A2").Select
ActiveCell.FormulaR1C1 = "Nr decizie"
But I have the bug on the second line.
Could you explain me why?
Please help me to remove the bug
Columns("A:A").Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Range("A2").Select
ActiveCell.FormulaR1C1 = "Nr decizie"
But I have the bug on the second line.
Could you explain me why?
Please help me to remove the bug