We have to bear in mind that an Inputbox always gives text. We have to test if the text can be interpreted as a number, and convert to a number if the situation requires it. We may need to test further to see if the number is in the correct format for our purposes eg. date.
Here is some code...