Welcome. I am trying to copy only the non-hidden rows, but I have not succeeded. I hope to find someone to help me with this. Thanks in advance.
Just an addition
With the ability to specify the columns in which you want to place data, if possible
VBA Code:
Sub test()
Set f = Sheets("Essai1")
Set d = CreateObject("Scripting.Dictionary")
a = f.Range("A2:f" & f.[A65000].End(xlUp).Row).SpecialCells(xlCellTypeVisible).Value
For I = LBound(a) To UBound(a)
d(I) = Array(a(I, 2), a(I, 5), a(I, 6))
Next I
b = Application.Transpose(Application.Transpose(d.items))
Sheet1.[A2].Resize(UBound(b), UBound(b, 2)) = b
End Sub
With the ability to specify the columns in which you want to place data, if possible