OK, sorry about the title; but here is the issue:
I have a workbook that has a timeout function that will firstly warn a user about an inactive workbook and then if no response is given save and close it. Upon testing this though I have found that if another workbook is open in excel and is being used, the timer continually resets and the inactive workbook that is still open won't close.
I have the timer reset subs called from the workbook_open, workbook_sheetchange, workbook_selectionchange and workbook_calculate events.
Any ideas of how to get around this happening?
I had thought that maybe a test to check if the sheet triggering the change is within the inactive workbook or not, but my VBA knowledge doesn't stretch that far!
Any suggestions would be greatly appreciated.
Dave
Bookmarks