Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Modify macro to copy to next available row
Hi...ihave played around and created a macro that with the use of autofilter
copies my data from sheet 1 to sheet 2 then i filter out the data i don't need on sheet 1 ..works great Unfortunately when it copies it dosen't copy to the next available row in sheet 2..it goes anywhere.Cna someone look at this macro and show me the way to have te data that is filtered copied to the next available row in sheet 2 thanks Sheets("Filled Orders").Select Sheets(" Orders").Range("B6:I25000").AdvancedFilter Action:=xlFilterCopy _ , CriteriaRange:=Sheets(" Orders").Range("B6:I25000"), CopyToRange:= _ Range("B6:I25000"), Unique:=False Sheets("Orders").Select Range("B6:I52").Select Selection.AutoFilter Selection.AutoFilter Field:=8, Criteria1:="<" Selection.AutoFilter Field:=8, Criteria1:="=" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to modify a copy macro | Excel Worksheet Functions | |||
Copy from WORD to EXCEL using a macro..... | Excel Discussion (Misc queries) | |||
Want macro to select & copy cells from a different worksheet | Excel Discussion (Misc queries) | |||
Recorded Macro to Copy Format | Excel Worksheet Functions | |||
Activate a macro to insert a row and copy the formuals from the rows above to the blank row | Excel Discussion (Misc queries) |