i have this code
Sub taskstime2()
'
' taskstime2 Macro
'
' Keyboard Shortcut: Ctrl+t
'
Dim myCells1 As Range
Set myCells1 = Selection
Windows("5. schdule.xlsm").Activate
myCells1.Copy Sheets("1. schdule").Range("hm" & Rows.Count).End(xlUp).Offset(1, 0)
End Sub
it takes selection and paste it after the last nonblank in column hm. i want it to paste above the second noneblank in that column. first cell in column hm is title "tasks" below it are completed tasks. each time i insert row moving them down so the second noneblank changes. the way i work the most recent goes at the top not the bottom while the top row is used for the title of the column.
how do i tweak the above code to provide what im looking for?
Sub taskstime2()
'
' taskstime2 Macro
'
' Keyboard Shortcut: Ctrl+t
'
Dim myCells1 As Range
Set myCells1 = Selection
Windows("5. schdule.xlsm").Activate
myCells1.Copy Sheets("1. schdule").Range("hm" & Rows.Count).End(xlUp).Offset(1, 0)
End Sub
it takes selection and paste it after the last nonblank in column hm. i want it to paste above the second noneblank in that column. first cell in column hm is title "tasks" below it are completed tasks. each time i insert row moving them down so the second noneblank changes. the way i work the most recent goes at the top not the bottom while the top row is used for the title of the column.
how do i tweak the above code to provide what im looking for?