put something like this (it's just descriptive code) in a function:function AddSubtractDay(CurrentDate, IsPlus)if CurrentDate = 'Monday' then if IsPlus then CurrentDate = DateAdd("d", 1, Date()) else CurrentDate = DateAdd("d", -3, Date()) end ifelse if CurrentDate = 'Friday' if IsPlus then CurrentDate = DateAdd("d", 3, Date()) else CurrentDate = DateAdd("d", -1, Date()) end ifelse if IsPlus then CurrentDate = DateAdd("d", 1, Date()) else CurrentDate = DateAdd("d", -1, Date()) end ifend ifAddSubtractDay = CurrentDateend function
Go with the flow & have fun! Else fight the flow