D
DDH
Thank you for your help. I am trying to build and find code like below
that will insert a row in columns A to P. If I put my curser on A5 and
click on a macro button then it will insert a line on A6 from column A
to P. Or if I put the curser on A10 or A50 that it would do the same
thing. I have tried the code below and I know it is wrong for the
"Entire Row" is wrong. But I cannot make it work. Thank you for your
help.
Sub InsertRows()
Sheets("sheet1").Activate
Selection.EntireRow.Insert Shift:=xlDown
Sub yInsertA3P3CellsDown()
Range("A3
3").Insert Shift:=xlDown
End Sub
that will insert a row in columns A to P. If I put my curser on A5 and
click on a macro button then it will insert a line on A6 from column A
to P. Or if I put the curser on A10 or A50 that it would do the same
thing. I have tried the code below and I know it is wrong for the
"Entire Row" is wrong. But I cannot make it work. Thank you for your
help.
Sub InsertRows()
Sheets("sheet1").Activate
Selection.EntireRow.Insert Shift:=xlDown
Sub yInsertA3P3CellsDown()
Range("A3

End Sub