Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to modify a copy macro EAHRENS Excel Worksheet Functions 4 March 13th 06 06:58 PM
Copy from WORD to EXCEL using a macro..... Tee Excel Discussion (Misc queries) 1 March 1st 06 06:46 PM
Want macro to select & copy cells from a different worksheet RocketRod Excel Discussion (Misc queries) 5 February 28th 06 12:53 PM
Recorded Macro to Copy Format Lilbit Excel Worksheet Functions 5 January 10th 06 09:42 PM
Activate a macro to insert a row and copy the formuals from the rows above to the blank row oil_driller Excel Discussion (Misc queries) 1 February 11th 05 03:30 PM


All times are GMT +1. The time now is 07:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"