Hi

I am using an If function to test for incorrect input (for instance, when the input is too high). A MsgBox then appears saying "The value is too high". When the user clicks "OK", I want my code to stop. How do I do this?

Thanks
Luke