To give you some better detail, this is a step by step approach
B12:B56 Houses the name of every employee in the department
C12:C56 Has the times these individuals work on a Sunday (they may not all be in, if they're not it remains blank)
D12:D56 Has the times the individuals work on a Monday this repeats up to I12:I56 for the remaining week
The manager will select a colour, the colour determines what task they are meant to do that day, he/she will do it for the entire week. This should mean every cell, where an employee is in (ie there is text there C12:I56) should be shaded in
When the manager has finished, they click on a button which sends an email to notify HR.
What I want is when they click on that button, it does a check to make sure that all the cells that have times in for that week have been formatted .
If a cell has a time but has not been formatted then the message should says consultant XX has not been issued a task on ****day (that being the day of the week)
The days of the week are in C11:I11
If a cell has been formatted but there is no time then the message should say consultant XX has been issued with a task on ***day but is not in
The routine should then exit, if everything is ok then it should continue on and email to HR, this code is already in place
It is worth pointing out the following
L12:L56 has a duplication of the names
M12:M56 has the description of task for the Sunday for the employee, this updates automatically based on the colour selected in C12:C56
N12:N56 has the time the employee is in for the Sunday
This replicates across the columns for each day up to Z12:Z56
So as a further example
I select C42 as red, this will then populate M42 with the task and N42 has the time the employee is in for. The employees name appears in B42 and L42
Hope that explains everything????
Thank you