The workbook running the macros is ThisWorkbook so you can use ThisWorkbook.Close instead of Workbooks.Close
Regards. TMS
The workbook running the macros is ThisWorkbook so you can use ThisWorkbook.Close instead of Workbooks.Close
Regards. TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks