Requiring input into Excel fields

I need to know the VBA code to make sure a field is not allowed to be NULL. If data is not inputted the field should return an error message of "Input Required" on that field.

Nick's picture

if Range("A1").value = ""

if Range("A1").value = "" then
msgbox "Input Required"
endif