VBA Unfilter range

前端 未结 2 1465
情歌与酒
情歌与酒 2021-01-12 22:21

I am using this code:

Sheets(\"Sheet1\").AutofilterMode = False

to unfilter the data in an Excel sheet using VBA (the point is to clear al

2条回答
  •  独厮守ぢ
    2021-01-12 23:04

    Use Worksheets("Sheet1").ShowAllData instead. See http://msdn.microsoft.com/en-us/library/office/bb178108%28v=office.12%29.aspx.

提交回复
热议问题