Out of interest, why do you have two data elements in a spreadsheet? What is the process you are trying to do?
Personally, without any further information I would drop the spreadsheet totally and just have two lines at the start of the code:
%let mval1=...;
%let mval2=...;
Thats the only bit which needs changing then. Save all the faffing about.
... View more