I'm trying to delete a workbook that's currently open, but it needs to be done in following manner;
1. Open workbook1 & run some macros.
2. Workbook1 opens workbook2.
3. Workbook2 runs some macros.
3. Workbook2 deletes workbook1.
I've tried following but it doesn't work & it doesn't generate any errors at all. It just stops when workbook1 is closed.
Workbook 1
Workbook 2
I've tried few other things, even through ThisWorkbook Activate, but as soon as first workbook is closed it's the same issue everything stops.
So is there a way to hand control over to another workbook & do this? It seems like a file handle control issue but not sure how would do this.
Bookmarks