ShowAllData Method

Microsoft Excel Visual Basic

Makes all rows of the currently filtered list visible. If AutoFilter is in use, this method changes the arrows to "All."

expression.ShowAllData

expression    Required. An expression that returns a Worksheet object.

Example

This example makes all data on Sheet1 visible. The example should be run on a worksheet that contains a list you filtered using the AutoFilter command.

Worksheets("Sheet1").ShowAllData