I have a very strange problem and I can't seem to diagnose it because it's hard to duplicate/replicate.
I have an Excel 2003 spreadsheet with VBA code that performs various functions including calling an Add-In that pulls data from servers. The spreadsheet has been working for a long time and the VBA code has not been touched. Lately, everytime I run the code, it first calls the Add-in and as it begins processing, I get "Application-defined or object defined error". I keep pressing OKAY and the problem goes away and continues operating.
I can't seem to figure out why the problem is occuring. I tried repairing my Excel and even asked IT to delete temp files. This behavior is erratic and I don't think it has anything to do with my VBA code, except one line of code that calls the Add-in which I have no control over since it is from a different vendor.
I've searched the Internet far and wide and most issues has to with poorly written VBA code but I don't think its my VBA code that's causing the issue. I think it's the Add-in but I'm not sure because it always produces this error when it attempts to call the Add-In. However, sometimes I never get this error so I'm really confused.
Any help is appreciated?
Bookmarks