ShowAllData Method

Applies To

Worksheet object.

Description

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

Syntax

expression.ShowAllData

expression Required. An expression that returns a Worksheet object.

See Also

AdvancedFilter method, AutoFilter method, FilterMode property.

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