Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting Filter Data
I have data on a tab from 2008 to 2006. We have to keep the data from 2007 to
2006 so I save the workbook first. I filter the data. Selection.AutoFilter Field:=3, Criteria1:="<=12/31/2007", Operator:=xlAnd Selection.Offset(1, 1).SpecialCells(xlCellTypeVisible).copy Now I have all of the data from 12/31/2007 to the last year of data. But it grabs the headers of the data. How do I just select the filtered data only so I can delete it. Thanks in advance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting Filter Data
See this example
http://www.rondebruin.nl/delete.htm#AutoFilter -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Crazyhorse" wrote in message ... I have data on a tab from 2008 to 2006. We have to keep the data from 2007 to 2006 so I save the workbook first. I filter the data. Selection.AutoFilter Field:=3, Criteria1:="<=12/31/2007", Operator:=xlAnd Selection.Offset(1, 1).SpecialCells(xlCellTypeVisible).copy Now I have all of the data from 12/31/2007 to the last year of data. But it grabs the headers of the data. How do I just select the filtered data only so I can delete it. Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Selecting row data, filter out column nulls and reporting results? | Excel Discussion (Misc queries) | |||
Macro help! Selecting rows after running a filter | Excel Programming | |||
Selecting more than one filter values | Excel Discussion (Misc queries) | |||
Selecting first cell in a colmn after a filter has bee applied | Excel Programming | |||
Selecting Cells to set up Advanced Filter | Excel Programming |