Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks nice, but I have a questions. Can you change the code to start at cell
D34 and also copy the format in row 33? "reklamo" wrote: Try following macro: Sub InsertRow() ActualRow = Selection.Row Cells(ActualRow + 1, 1).EntireRow.Insert Range(Cells(ActualRow, 1), Cells(ActualRow, 3)).Copy _ Destination:=Cells(ActualRow + 1, 1) End Sub Regards reklamo "Dale Fye" wrote: New to Excel VBA, but have 10 years programming in Access I have a row pointer for my worksheet, and a command button on a form that I want to use to insert a blank row after the currently selected row, and then copy the data from the first three columns of the currently selected row. How do I -- Email address is not valid. Please reply to newsgroup only. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cannot copy selected cells | Excel Discussion (Misc queries) | |||
Copy and paste versus copy and insert copied cells | New Users to Excel | |||
Copy selected cells | Excel Programming | |||
How can I copy the values of all selected cells to the same cells inanother Sheet | Excel Programming | |||
Copy Selected cells down a row with macro | Excel Discussion (Misc queries) |