J
Jean-Paul Hahn
Hello
I want to record a macro that jumps to the last row of a range and inserts a
new row thus expanding the range (name).
Although I checked the R1C1 reference style in options; the macro is created
with fix row references.
Rows("7:7").Select
Selection.Insert Shift:=xlDown
Does any one have a tip how to bring the macro recorder to using relative
references
(e.g. ActiveCell.Offset(-2, 0).Rows("1:1").EntireRow.Select
Selection.Insert Shift:=xlDown)
without having to write the macro manually?
Best regards
Jean-Paul
I want to record a macro that jumps to the last row of a range and inserts a
new row thus expanding the range (name).
Although I checked the R1C1 reference style in options; the macro is created
with fix row references.
Rows("7:7").Select
Selection.Insert Shift:=xlDown
Does any one have a tip how to bring the macro recorder to using relative
references
(e.g. ActiveCell.Offset(-2, 0).Rows("1:1").EntireRow.Select
Selection.Insert Shift:=xlDown)
without having to write the macro manually?
Best regards
Jean-Paul