I have a workbook with 2 worksheets, one named "Timesheet" and the other named "Data".
I created a button on the "Timesheet" worksheet (Add Work) that will insert a blank row on the row directly above the button. Row 2 on the "Data" worksheet has code in some of the cells and I want to insert this row instead of a blank row. I need row 2 from the "Data" worksheet to be copied and inserted on the row directly above the button each time the button is selected so that the inserted row is always the last row inserted.
For example
If I click the button again it should copy and insert row 2 from "Data" worksheet directly underneath the 12:00 entry line.
Below is the VBA I use to insert the blank row.
I created a button on the "Timesheet" worksheet (Add Work) that will insert a blank row on the row directly above the button. Row 2 on the "Data" worksheet has code in some of the cells and I want to insert this row instead of a blank row. I need row 2 from the "Data" worksheet to be copied and inserted on the row directly above the button each time the button is selected so that the inserted row is always the last row inserted.
For example
If I click the button again it should copy and insert row 2 from "Data" worksheet directly underneath the 12:00 entry line.
Below is the VBA I use to insert the blank row.