Vincent Thank You
New Member
- Joined
- Oct 3, 2017
- Messages
- 18
Good morning,
I am a new user here although I have been using your results via Google for quite some time. I've got a formula that I'm using to highlight past due dates, 2 days past due. I'd like to be able to highlight 2 days past due, business days only. I seen several formulas including WORDAY but I can't seem to get any of them to work within my formula. I'm excited to be here, hopefully I have followed all the rules and I can contribute in the future as well.
I am a new user here although I have been using your results via Google for quite some time. I've got a formula that I'm using to highlight past due dates, 2 days past due. I'd like to be able to highlight 2 days past due, business days only. I seen several formulas including WORDAY but I can't seem to get any of them to work within my formula. I'm excited to be here, hopefully I have followed all the rules and I can contribute in the future as well.
Code:
Columns("I:I").Select
Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlLess, _
Formula1:="=TODAY()-2"
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
With Selection.FormatConditions(1).Font
.Color = RGB(255, 0, 0)
.TintAndShade = 0
Last edited by a moderator: