Sub ConditionalFormattingSheetTabs() Dim sh As Worksheet For Each sh In ThisWorkbook.Worksheets ProjectStatus = sh.Cells(1, 1).Value Select Case ProjectStatus Case "On Time" sh.Tab.Color = 5287936 Case "Slight Delay" sh.Tab.Color = 65535 Case "Delayed" sh.Tab.Color = 192 End Select Next sh End SubThis is more or less just a proof of concept code. Although, in project management this would be nice to see. I could also easily see this applied in a Workbook that has Sheets with imported data, intermediate calculation Sheets and final report Sheets which are usually (for organisational purposes) colour coded. And if someone really wants to spent a Weekend on it you could have Conditional Formatting applied to cells and then have VBA code run through those cells and figure out which is the dominant formatting (in sense of colour) and apply that to the Sheet tab. So lots of applications for this… Here is the original Workbook so you can play with the code and see it in action. (Keep in mind the code was written in Excel 2016). To sum up, this is how you use conditional colouring on Excel sheet tabs. Stay tuned for more great tricks!
Highlighting Weekends can be hard in Excel. So just for fun, ...
This is a follow up post on the final result of last week’s ...
Simply put, there are two ways to turn Conditional formatting On ...