The workbook running the macros is ThisWorkbook so you can use ThisWorkbook.Close instead of Workbooks.Close


Regards. TMS