Autofilter Not Working For Date Criteria - Solution

May not work -

    Range("a1").AutoFilter field:=1, Criteria1:=Date

Will Work

    Range("a1").AutoFilter field:=1, Criteria1:=Format(Date, "DD-MM-YYYY")


Comments

Popular posts from this blog

Power Automate - Automatically fetch data from Power BI in to Excel and Send the copy of the Excel file via Email

VBA Outlook - Convert Early Binding to Late Binding

Split Numbers into Whole part and Decimal part without using the Round() Function