Good afternoon,
I hoping someone can help me because i'm completely baffled. Every morning at 8am have an excel file that opens up via a task scheduler command, after 56 minutes @ 8:56 excel trys to close of its own accord and I get this message from excel saying "Cannot Quit at this time" from a "Microsoft Visual Basic for Applications" pop up box, This stops everything from running and i have to clear the message before it will continue, once i clear the message it will run fine for the rest of the day until tomorrow at 8:56am. I can guarantee there is nothing in my vba code that attempts to close down my excel at this time. I will add all of my vba below.
If anyone could help i would be really grateful.
Module 1
Module 2![]()
Please Login or Register to view this content.
This Workbook![]()
Please Login or Register to view this content.
No other VBA is present in the sheet![]()
Please Login or Register to view this content.
Thanks in advance DJ
Bookmarks