Hi,
I have an excel sheet with a long list of data..I actually want to filter some columns and copy THE RESULT ONLY onto an existing tab page. I thought these instructions would do it, but it copies everything with the filter the settings..when I actually only want the resulting data with no filter seetings...Here is my code
Private Sub split_data()
With Worksheets("Original_Data")
[Y3].AutoFilter Field:=25, Criteria1:="X"
[Z3].AutoFilter Field:=26, Criteria1:="X"
[AA3].AutoFilter Field:=27, Criteria1:="X"
[AB3].AutoFilter Field:=28, Criteria1:="X"
[AC3].AutoFilter Field:=29, Criteria1:="X"
[AD3].AutoFilter Field:=30, Criteria1:="X"
[A1].Copy Sheets("Filtered_Data").[B1]
Worksheets(1).Copy After:=Sheets(2)
End With
Basically, Is there anyway I can just copy the resulting data onto another page??