hellfire45
Active Member
- Joined
- Jun 7, 2014
- Messages
- 462
So I want to autofilter a column but I want to sort it to show the values that are in the last weeks business days.
Let's say it is Monday, I want to autofilter to last week Mon-Fri. Let's say the code looks like this:
Can anybody tell me how to write the criteria so that it does this properly?
Thanks!!!
Let's say it is Monday, I want to autofilter to last week Mon-Fri. Let's say the code looks like this:
Code:
With wksdata2
.Range("A:BJ").AutoFilter Field:=152, Criteria1:=array(today()-3, today()-4, Operator:=xlOr
endwith
Can anybody tell me how to write the criteria so that it does this properly?
Thanks!!!