Thankyou for that, the error message does not appear anymore, But i cannot carry out the function that i was trying to do, maybe my coding is set out wrong. If you look at the coding below, if the cylinder number entered within the inputbox (stringy3) is the same as a cylinder number already in...