Hi Gary
Cool then. There is no issue with the code. There might be some issues with the variable declaration as you have already mentioned till e_t_range in debug mode, its fine.
Is ZWEEKVAR a range variable. It shouldn't be a single value since you are passing two dates.
When exactly you are getting this error. Just after variable input screen or once the result has come.
Regards
Karthik