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.
»
- mairep's blog
- Login or register to post comments
- 3131 reads
if Range("A1").value = ""
if Range("A1").value = "" then
msgbox "Input Required"
endif