code to check employee’s ​​Leave dates

  • I have a userform with 8 text boxes every 2 text boxes for the start and the end of the employee’s Leave . It is required that the Leave of the fourth employee does not overlap with the Leaves of the other three, when the Leave of the fourth employee does not conflict with other three a new userform appears "ok" and when its a conflict, a message appears about the person whose Leave contradicts him. It is required to override the empty textbox in the event that one of the persons did not register a Leave .

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!