📜  excel vba clear filter - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:53.103000             🧑  作者: Mango

代码示例1
' Clear all filters of the sheet
ThisWorkbook.Worksheets("Sheet1").ShowAllData

' Clear filter for a single column
ThisWorkbook.Worksheets("Sheet1").Range("A3:D1000").AutoFilter Field:=2