I am having issues with my VBA routine freezing at run time.
I have a very large dictionary (over a million keys) that is pulling down the performance of my routine. And I am noticing that if I move my mouse during the routine that I get the "Not Responding" message on my userform status bar. Sometimes it crashes the routine - sometimes not. But it is hit and miss. I am trying to stabilize the routine during runtime.
Also, when my screen saver comes on, this too can freeze my routine. I need to trigger a mouse movement or bypass the screen saver, altogether.
Any ideas on how to fix these two issues?
I have a very large dictionary (over a million keys) that is pulling down the performance of my routine. And I am noticing that if I move my mouse during the routine that I get the "Not Responding" message on my userform status bar. Sometimes it crashes the routine - sometimes not. But it is hit and miss. I am trying to stabilize the routine during runtime.
Also, when my screen saver comes on, this too can freeze my routine. I need to trigger a mouse movement or bypass the screen saver, altogether.
Any ideas on how to fix these two issues?