Hi there,
See if the attached version of your workbook does what you need.
It uses an extra helper column (C), a worksheet-level defined name "bHighlightText", and some code which toggles the value of "bHighlightText" between True and False at one-second intervals whenever the Cabin Reservation worksheet is active.
The values in the helper column will toggle between True and False whenever:
the value in Column E is "in", and
the value in Column L is today's date, and
the time displayed by the system clock is later than 12 noon
When the value in the helper column is True, conditional formatting highlights all of the data cells in that row, and this highlighting is removed whenever the value in the helper column is False.
The code used is as follows:
ThisWorkbook VBA CodeModule
Cabin Reservation Worksheet VBA CodeModule
Hope this helps - please let me know how you get on.
Regards,
Greg M
Bookmarks