I want a msg box to display when the values in a textbox are between 1 and 17.

Should I use Integers and if statements?
And if so how?

Thanks