InputBox question

what should be the syntax for the following by using Inputbox and MsgBox ?

If user name is catalyst range a1:a10 should be selected, otherwise show a message 'Please enter correct name"