Basically I just need to have a button to archive completed entries to another table on another sheet.
Criteria: Table rows with "COMPLETE" in cell under Table Header "ARCHIVE"
From: Worksheet "ORDERS_LIST" / Table "ORDERS_TB"
Destination: Worksheet "ARCHIVE" / Table "ARCHIVE_TB"
Then delete row from "ORDERS_TB"
Of course needs to be able to add rows to table for the entries being archived.
I dont know if it matters by a lot of the cells for ORGIN worksheet use conditional formatting for colors and dates.
***WISHLIST - Would be nice if automatically each new row had a checkbox in the Archive column and that activate the Archive Function.***
File attached. Thanks for all the help.
I have not got far, i have tried many things from other posts but im not seeming to grasp the whole thing properly. and have deleted most of my attempts. Im guessing i need to start the VBA with the definitions and set variables. MER.
_______________________________________
Sub ARCHIVE()
Application.ScreenUpdating = False
Dim OL As Worksheet
Dim AL As Worksheet
Set OL = Worksheets("ORDERS_LIST")
Dim OLT As ListObject
Set OLT = ws.ListObjects("ORDERS_TB")
Set AL = Worksheets("ARCHIVE")
Dim ALT As ListObject
Set ALT = ws.ListObjects("ARCHIVE_TB")
End Sub
_______________________________________
Bookmarks