How to select the range obtained after using a filter?

How to select the range obtained after using a filter?
I need to select the range I got after using a filter.