I have a userform that requires the user to input an integer between the range of 0-8 for the sub to function correctly. My dilemma is right now I have specified an if/then statement that shows a message box informing the user if they are out of bounds, however after the user clicks ok on the msgbox, the sub skips to the end, and unloads my userform. Is there anyway to inform the user that they are out of range and return to the userform for them to correct their input value?