Hello,
I have two sheets, "Current" and "Complete". Basically when one task in the "Current" sheet is completed, I want it to run a macro to copy and paste to the "Complete" sheet.
Most of my code is working. It is finding the correct row and cells needed to copy, but it is not pasting in the new sheet. Does anyone know what could be happening?
I have two sheets, "Current" and "Complete". Basically when one task in the "Current" sheet is completed, I want it to run a macro to copy and paste to the "Complete" sheet.
Most of my code is working. It is finding the correct row and cells needed to copy, but it is not pasting in the new sheet. Does anyone know what could be happening?
Code:
'Determine Full Ranges
WS_Current.Select
lastrow_current = Cells(Rows.Count, 3).End(xlUp).Row
lastcolumn_current = Cells(7, Columns.Count).End(xlToLeft).Column
WS_Completed.Select
lastrow_completed = Cells(Rows.Count, 3).End(xlUp).Row
lastcolumn_completed = Cells(7, Columns.Count).End(xlToLeft).Column
'Copy Task Item
WS_Current.Range(Cells(Find_Y, 3), Cells(Find_Y, lastcolumn_current)).Copy WS_Completed.Range(Cells(lastrow_completed + 1, 3), Cells(lastrow_completed, lastcolumn_completed))
'Paste Completed Task
WS_Completed.Select
Range(Cells(lastrow_completed + 1, 3), Cells(lastrow_completed, lastcolumn_completed)).Select
ActiveSheet.Paste
Application.CutCopyMode = False