I know the DoEvents function but I think its not solved my probelm in this case.
I started an SQL query with ODBC connection in a Userform. While the excel wait for the database results until then the Userform is going to "not responding" mode.
How can I get back the control on Userform while the SQL query is running and waiting for the results?
ODBC connection:
Here is the command when the Userform go to "not responging" mode. The excel wait for the SQL database about 30 seconds.
After that the excel gets the SQL results and the Userform is active again and i have no problem. I can list the results with DoEvents etc.
Can you help me?
Sorry for my english.
Bookmarks