I agree with MontyBurns, in that it does seem an odd way of doing things. On the other hand, "maybe it's me, or maybe it's just Tuesday," but maybe there's also a reason to want the InputBox. I don't have to know something for it to be true ;> . {I just checked back for new replies before posting, so I see that you do indeed have a reason fo your question

and were just making the example simpler to make your question clear -- good call!}
Since you want the InputBox, then I can think of one way to "make it mandatory". The line:
Me.Name = InputBox("Enter your Name"

tells me you're working in VBA code. Check the Help file to see what InputBox returns when the user clicks CANCEL. If the constant BADVAL is set equal to that value, and if you also want to make sure that the user enters something other than spaces or an empty string, try something like this:
Code:
Do
Me.Name = InputBox("Enter your name")
Loop While ((Me.Name = BADVAL) OR (Trim(Me.Name) = ""))
Then the user won't see anything but the InputBox until they enter something other than BADVAL, spaces, or an empty string. They might get frustrated that the Cancel button doesn't work, but the InputBox will be mandatory

! If you want to be a kinder, gentler programmer, you could feed them a message in the body of the Loop, like so:
Code:
Do
Me.Name = InputBox("Enter your name")
if ((Me.Name = BADVAL) OR (Trim(Me.Name) = "")) Then
MsgBox "You must enter something, and something other than spaces, at that."
End if
Loop While ((Me.Name = BADVAL) OR (Trim(Me.Name) = ""))
You could also store the InputBox message in a string variable, and alter that string variable in the If-Then, instead of displaying a MsgBox; that would save the user another button click, but put the warning in front of them in the InputBox itself. Whether that's a good approach or not, and what wording to use -- these decisions I leave to you

.
Good luck, Lloyd!
JUST PASSING THRU