Hi team, I am using COM API within Excel's VBA environment to download historical pricing data for a few dozen stocks. However, when I run these codes, around 60% of times, my Excel will crash half way through the data download process.
I have been experiencing the same issue for over one year, and so far I cannot find a solution. Sometimes the download was smooth, without crashing Excel or encountering any problems. But 60% of the times, Excel crashes half way through the download. So, sometimes the download works and sometimes the download crashes Excel.
The windows error log looks as such. For each Excel crash, windows generates a similar error log.
And, during successful download (i.e., without crashing Excel), windows also registers an error message. See below.
Again, this issue has been around for at least one year, since 2019. I have tried downloading on several different PCs -- I experienced the same issue, Excel crashes in about 60% of time.
Could it be a 64-bit Excel problem? (I am on 64-bit Excel) Any ideas how to resolve this Excel crashing issue when using RHistoryAPI.dll? Many thanks.