Hi, my robot filtered yesterday’s date in excel via Filter activity and entered the sequence: datetime.now.AddDays(-1).ToString(“dd.MM.yyyy”)
How to make it filter the date from Friday, Saturday and Sunday on Monday? And not just from Sunday?
Use this:
Datetime.now.AddDays(If(Now.DayOfWeek = DayOfWeek.Monday,-3,-1)).ToString("dd.MM.yyyy")
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.