What data is in column 2 that is time_now is using?
It could be that you need to specify do command as
Do While timeserial(Time_Now) < timeserial(Calc_End_Time)
--
mudraker
------------------------------------------------------------------------
mudraker's Profile:
http://www.excelforum.com/member.php...fo&userid=2473
View this thread:
http://www.excelforum.com/showthread...hreadid=535734