Hi,
I am creating a sheet for holiday booking for my employees and need some code to change the contents of the cells from "B" to "T" if the current date is equal to or greater than the booking date.
I have a sheet with all the dates for the holiday period in column C and the employees names are in row 9.
When i book a holiday I will enter "B" in the cell for that employee that matches their name and date requested, I would then like a macro to run on the sheet being opened that will check all rows in range "Data" and if the cell contains a "B" and the current date is equal to or greater than than the date in column C then change it to "T". The macro would need to check all columns in the range "Data" and then move to the next row and repeat until all rows have been checked.
I am creating a sheet for holiday booking for my employees and need some code to change the contents of the cells from "B" to "T" if the current date is equal to or greater than the booking date.
I have a sheet with all the dates for the holiday period in column C and the employees names are in row 9.
When i book a holiday I will enter "B" in the cell for that employee that matches their name and date requested, I would then like a macro to run on the sheet being opened that will check all rows in range "Data" and if the cell contains a "B" and the current date is equal to or greater than than the date in column C then change it to "T". The macro would need to check all columns in the range "Data" and then move to the next row and repeat until all rows have been checked.