We are facing issue in below scenario. Expert advice will be appriciated.
Excel files are being opened with pywin32 library and excel files have User Defined Functions written using an excel addin called PyXLL. These UDFs make rest api calls and every file contains almost 600-700 UDFs.
We are Initialising and Uninitialising com objects in proper manner. Excel crashes in a random manner, if the failed report is tried again it is very much possible that it'll not fail this time. At a time multiple files are processed using python threading.
But we want to stop excel from crashing.