Hello,

I need a program for my user form such that it displays an error message.
I have created an user form with employee name ,task and remarks.

I need a program in such a way if an user clicks the "submit" button without entering all the fields in the user form, an "error message" should be displayed.

The submit button has to work only if all the fields are filled by the user.

Please let me know the procedure

Regards
Alex