SanjayGMusafir
Well-known Member
- Joined
- Sep 7, 2018
- Messages
- 1,513
- Office Version
- 2024
- Platform
- Windows
Hi Experts
Got another problem to resolve
I want to filter my records for dates before 10 yrs from today. So I have written following code, which is not working. There must be some technical thing, I'm missing upon.
Further, my system use date as dd/mm/yyyy
Please help
Thanks
Got another problem to resolve
I want to filter my records for dates before 10 yrs from today. So I have written following code, which is not working. There must be some technical thing, I'm missing upon.
Further, my system use date as dd/mm/yyyy
Please help
Thanks
Code:
ActiveSheet.ListObjects("Clients").Range.AutoFilter Field:=3, Criteria1:= _
"<=" & "[Today()-3650]"