PROBLEM: A very strange thing happens when I run my Excel application. It jumps into the VBA code window in break mode for no apparent reason. Sometimes, it tries to go into break mode but I get a message box that says something like “Code execution has been interrupted.” with options to Continue, End, Debug (DISABLED), or End.
BACKGROUND: Some info about the application: Sheet2 has a button that opens a form. The form allows users to filter their data retrieval by selected clients. The “GO” button on the form runs a SQL query via an ODBC connection returns data.
MY ATTEMPTED SOLUTIONS: I verified that the db query is working. I have removed all the stops and cleared all breakpoints in the code. I have Compiled. Saved, Closed and reopened (usual MS solution to a whole host of issues.)
Does anyone have any idea why this strange behavior is happing and more importantly, a possible solution? Any suggestions are greatly appreciated.
Many thanks