August 19th, 2003, 2:37 pm
Hi Godfather,When you use Application. OnTime, the procedure you call at that time still remains even if you close your worksheet! It’s an application event and not a worksheet event!To avoid calling a macro after closing a worksheet, you have to cancel OnTime events!!You have to use something like…Application.OnTime EarliestTime:=TimeValue("event_time"), Procedure:="my_Procedure", Schedule:=FalseYou can do it before closing a worksheet!HTH