Yes, that line of code does work, but when you put it together with the rest of the code, the TimerProc is killing my Excel application too.