Ok.the problem is you do not have a defined range for "values" in any of you sheets .
Eg: select the range of values on each sheet and then go insert>Name> define and then give the name the range eg:"values"
I see in your code the defined range name "Values" is being asked for on different sheets.
you need different names for different ranges.
Once you do this you macro should run...but I cannot be sure it if will do everything or any of want you want....as I am noce clear on excatly the steps you want done in maniuplating /calculating the sheets.
Bookmarks