You need either a DoEvents loop:
Code:
Do Until bTimerDone
DoEvents
Loop
Where you set the module level variable bTimerDone to true in the timers event.
Or you can call the second half of the code directly from the timers events.
I personally prefer the first method.
|
__________________
A wise one man once said "what you talking about dog breath"
|