Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have quite literally hundreds of worksheets where I need to filter out the
unique numbers in Column C, and paste them into a single new filtered list in a new workbook. I recorded a Macro and it looks like this: Columns("C:C").Select ActiveSheet.ListObjects.Add(xlSrcRange, Range("$C:$C"), , xlYes).Name = "List1" Columns("C:C").Select Columns("C:C").AdvancedFilter Action:=xlFilterInPlace, Unique:=True Selection.Copy With ActiveWindow .Top = 1.75 .Left = -389 End With Windows("Book3").Activate ActiveSheet.Paste End Sub This needs a few tweaks, but I don't know VBA. How do I copy only the numbers once the filter has been applied. So something like Selection.Copy(NumbersOnlyPlease) ? Then, how do I paste those numbers consecutively down Column 1 in Book3 so that the first group occupies, say A1-A8, then the next occupies A9-A25, perhaps. Thanks for your help. Arlen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Attempting to sort unique/only count first record in each unique g | Excel Discussion (Misc queries) | |||
Create a macro which can find a record in three books | Excel Worksheet Functions | |||
how do I find and sort unique values from a column | Excel Worksheet Functions | |||
find last record in macro and delete all after | Excel Discussion (Misc queries) | |||
Display unique record | Excel Discussion (Misc queries) |