I have a report that I download once a week however could be using it for a few days each week. I recorded some conditional formating but used =today(). Is it possible to change it so it makes the condition based on the day it is ran (monday) so that it doesn't change when I reopen the now saved report on tuesday? or if there is code that will always base the conditions on monday of each week the report is ran/downloaded. the macros i have now are an AddIn file so they are saved locally. also one of the macros prompts users to save so i don't know if that helps (this is one of the first things to ran)
Code:
Columns("J:J").Select
Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlBetween, _
Formula1:="=TODAY()-8", Formula2:="=TODAY()-2"
Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority
With Selection.FormatConditions(1).Font
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
End With
With Selection.FormatConditions(1).Interior
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent3
.TintAndShade = -0.249946592608417
End With
Selection.FormatConditions(1).StopIfTrue = False