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

Separate Text (Characters) & Numbers from Alpha Numeric String Using Formula and Macro (VBA)

File System Object