Good Morning
While executing my looped Excel VBA code after around 10 runs of the loop all Excel workbooks that are currently open close without notification. There doesn't seem to be a pattern in this happening though, the number of loops it goes through is not constant and it sometimes shows automation error, and sometimes doesn't.
Unless it is necessary I'm not going to post the code yet because it is rather large and I can't isolate the problem. If there is a way to isolate the problem that would be great. I also know my code could be a lot cleaner but I am still learning a lot of the simple tricks regarding this.
Thank you
Bookmarks