In the btnclose_Click procedure in the FrmPunches module you disable the event response:
Application.EnableEvents = False
but there is no enable. When Help.xlsm was the only open file, this will close the workbook and the Excel application. At this point, the event response is reset, it takes the value True (it would be more true to say that when the Excel application is opened, the EnableEvents property gets the value True).
If the Help.xlsm file was NOT the only open file the workbook is closed, and the Excel application remains open along with other open files. At this point, EnableEvents has the value False, which means no events will occur, so reopening the Help.xlsm file will NOT trigger the Workbook_Open event procedure.
Artik
Bookmarks