Is anyone able to assist in copying a the data of a table column only. I have a macro which runs a bunch of filters and from there I would like to copy and paste the column data only (no headers)
I specifically need help with copying and pasting the data.
I specifically need help with copying and pasting the data.
Code:
Sub CopyData()
With Sheets("Sheet1")
ThisWorkbook.Worksheets("Sheet1").ListObjects("Table1").Range.AutoFilter Field:=3, Criteria1:="Test"
Set Rng = .Range("A1:A") & .Range("A" & .Rows.Count).End(xlup).Row).SpecialCells(xlCellTypeVisible)
Rng.Copy Sheets("Sheet2").Cells(1, 1)
End With
End Sub