See the stack trace. It happens in the Table module. Hard to say which sub as the code is obfuscated. If you have saved the obfuscation map file then you will be able to map it.
Seems like there is a lengthy loop with DoEvents call. Such loops should usually be avoided.