Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How with code would I do an auto filer - unique values and
copy these values to another sheet? thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sheets("Sheet1").Range("A1:A10").AdvancedFilter Action:=xlFilterCopy, _ CopyToRange:=Sheets("Sheet2").Range("A1"), Unique:=True Regards Pascal "Mister Dolopo" a écrit dans le message de ... How with code would I do an auto filer - unique values and copy these values to another sheet? thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this Mister
Column A must have a header cell Sub test() ActiveSheet.Columns("A:A").AdvancedFilter _ Action:=xlFilterCopy, _ CopyToRange:=Sheets("Sheet2").Range("A1"), Unique:=True End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Mister Dolopo" wrote in message ... How with code would I do an auto filer - unique values and copy these values to another sheet? thanks |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Guys,
Small problem, this macro copies my heading value as well as the data below. Can this be rectified to only copy the data? thanks -----Original Message----- Try this Mister Column A must have a header cell Sub test() ActiveSheet.Columns("A:A").AdvancedFilter _ Action:=xlFilterCopy, _ CopyToRange:=Sheets("Sheet2").Range("A1"), Unique:=True End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Mister Dolopo" wrote in message ... How with code would I do an auto filer - unique values and copy these values to another sheet? thanks . |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just delete the cell (and shift up) or delete the whole row after you do the
copy. .... sheets("sheet2").rows(1).delete .... Mister Dolopo wrote: Thanks Guys, Small problem, this macro copies my heading value as well as the data below. Can this be rectified to only copy the data? thanks -----Original Message----- Try this Mister Column A must have a header cell Sub test() ActiveSheet.Columns("A:A").AdvancedFilter _ Action:=xlFilterCopy, _ CopyToRange:=Sheets("Sheet2").Range("A1"), Unique:=True End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Mister Dolopo" wrote in message ... How with code would I do an auto filer - unique values and copy these values to another sheet? thanks . -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Advanced Filter - filter rows < | Excel Discussion (Misc queries) | |||
Why won't advanced filter return filter results? | Excel Worksheet Functions | |||
How do I use advanced filter to filter for blank cells? | Excel Discussion (Misc queries) | |||
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du | Excel Worksheet Functions | |||
advanced filter won't allow me to filter on bracketed text (-456.2 | Excel Discussion (Misc queries) |