Bonsoir Daniel,
Peut-être peux-tu essayer comme ça :
Private Sub CommandButton1_Click()
Dim lig As Long, I As Long, J As Byte
Dim L As Long
With Sheets('Feuil1')
lig = .Range('A65536').End(xlUp).Row
For I = 1 To lig
If Not .Rows(I).Hidden Then
L = L + 1
For J = 1 To 5
Spreadsheet1.Cells(L, J).Value = .Cells(I, J).Value
Next J
End If
Next I
End With
Spreadsheet1.Columns.AutoFitColumns
End Sub
Cordialement
Message édité par: myDearFriend!, à: 13/03/2005 02:16