hi,
Sub FilteredRange()
Dim plg As Range, x As Variant, x1 As String, xx As String
Set plg = ActiveSheet.Range("_filterdatabase").SpecialCells(xlCellTypeVisible)
x = Split(plg.Address, ",")
If Not UBound(x) = 0 Then
x1 = x(1) ' filter's first row
xx = x(UBound(x)) ' filter's last row
Range(x1 & ":" & xx).Select
End If
End Sub
--
isabelle
Le 2011-06-28 12:13, T2B a écrit :