I\'m using this code (in conjunction with code that calculates the variables using ranges in a different sheet - these calculations are working perfectly). I\'m then using this