I started getting this error on all of the macros I have in one particular sheet. I am not pressing anything that could interrupt the code, the error comes up almost immediately. Normally the macro takes about 2 seconds to run.
The code itself is not the issue as far as I can tell, I have not modified the code in weeks, and had a backup of the previous version which worked flawlessly, now causes errors.
Here is an example of the code being highlighted, the variables are all assigned correctly, I stepped in with a tracker open and everything was fine.
Another sheet seems to like to lock up on an "End With" statement(??)
The only thing I have done is add a data source to ODBC, but I am not sure how this could cause errors in VBA that never referenced a DB in the first place?
Thanks
cei.PNG
Bookmarks