I NEED A MACRO FOR MS EXCEL

Job ID: 38024915

Budget: $10 – $30 USD

I have an Excel file where the preventive and corrective maintenance services of some equipment are registered.

It is divided by team in Excel sheets, in the example there are 2 teams BU-001 and BU-002.
By pressing the finish button at the top of the sheet, the macro must copy the existing data from the selected sheet to the BDD sheet table, and also delete the elements found in the BDD sheet table. sheet in progress (BU-001 in the example), in addition to setting the "MAN HOURS IN CURRENT MAINTENANCE" and "DAYS OUT OF SERVICE" fields to 0's.

It is necessary that the macro works on the selected sheet, since the sheet will be duplicated to have one sheet per team, and when the sheet is duplicated, the macro does not lose functionality or copy the data from a specific sheet.