Hi,
I am writing a macro that will filter the data from one workbook sheet, and past it into another workbooks sheet. After the data is filter I want to copy just the filtered data from columns F,G,H as code below, but it does not work. Is there anything missing I should consider? Will much appreciate the help..
I am writing a macro that will filter the data from one workbook sheet, and past it into another workbooks sheet. After the data is filter I want to copy just the filtered data from columns F,G,H as code below, but it does not work. Is there anything missing I should consider? Will much appreciate the help..
Code:
ActiveSheet.Range("$A$1:$AC$1654").AutoFilter Field:=1, Criteria1:="PCM"
ActiveSheet.Range("$A$1:$AC$1654").AutoFilter Field:=3, Criteria1:="N"
Columns("F:H").Offset(1, 0).Select
Selection.Copy