Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
shift the cursor down 2 rows please.
Hello from Steved
With the below macro how could I shift the cursor down 2 cells please. Sub Broken() Selection.EntireRow.Insert ActiveCell.Offset(1, 0).EntireRow.Copy Cells(ActiveCell.Row, 1).PasteSpecial End Sub Thankyou. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
shift the cursor down 2 rows please.
Steved,
Try ActiveCell.Offset(2, 0).Select HTH, Ryan "Steved" wrote: Hello from Steved With the below macro how could I shift the cursor down 2 cells please. Sub Broken() Selection.EntireRow.Insert ActiveCell.Offset(1, 0).EntireRow.Copy Cells(ActiveCell.Row, 1).PasteSpecial End Sub Thankyou. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
shift the cursor down 2 rows please.
Thanks Ryan.
"Ryan Poth" wrote: Steved, Try ActiveCell.Offset(2, 0).Select HTH, Ryan "Steved" wrote: Hello from Steved With the below macro how could I shift the cursor down 2 cells please. Sub Broken() Selection.EntireRow.Insert ActiveCell.Offset(1, 0).EntireRow.Copy Cells(ActiveCell.Row, 1).PasteSpecial End Sub Thankyou. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Automatically inserting rows | Excel Worksheet Functions | |||
Hiding Rows if the linked rows are blank | Excel Discussion (Misc queries) | |||
Locking a couple rows so when you do a delete shift row they dont | Excel Discussion (Misc queries) | |||
what should i use | Excel Worksheet Functions | |||
flexible paste rows function that inserts the right number of rows | Excel Discussion (Misc queries) |