its the " sec" variable thats making all the trouble.
--
jocke
------------------------------------------------------------------------
jocke's Profile:
http://www.excelforum.com/member.php...nfo&userid=766
View this thread:
http://www.excelforum.com/showthread...hreadid=473737