Yep, looks as though you've hit the limit.You probably need to do it from first principles:c - Int(c / 1000) * 1000