$ 0 0 Hi, I agree with Thomas, the error lies in the CALDAY_CLEAR line.. calday_clear = loc_var_range-low. Regards,Loed