I tried this Public Sub Timer1_Timer() Static zlr As Integer but it says "Unexpected: Static" Why's this? Shouldn't this make a static variable "zlr" the value of which is kept from time to time? Regards Rolf