1. The code loads an Excel workbook with a template sheet and multi-input sheet.
2. It then copies the template sheet for each row of data in the multi-input sheet, renaming the copy with the row ID.
3. Input cell values on the copied sheet are linked to the multi-input sheet.
4. Output cell formulas on the copied sheet are defined relative to the sheet name.
5. The workbook is saved, closed.