LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Copy Filtered Data



Sub FilterCopy()
With Columns("A:AJ")
* * .AutoFilter Field:=1, Criteria1:="<"
* * .AutoFilter Field:=11, Criteria1:="s"
* * .Copy
* * .SpecialCells(xlCellTypeVisible).Copy _
* * * * Destination:=Worksheets("Sheet2").Range("BE3")
End With
Application.CutCopyMode = False
Cells.AutoFilter *''turn off autofilter
Worksheets("sheet2").Range("BE3").EntireRow.Delete *'to remove copied
header row
End Sub- Hide quoted text -

This does not work. It filters the data but does not copy to the new
sheet.

My question is a little more indepth than first posted.

I am opening a set of files, filtering the data and copying the
filtered data back to the original file. I have the routine for
opening the files and copying other data functioning correctly. Its
just the piece of running the filter and copying that data to the
basebook that I cannot get. All help is appreciated.




 
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 do you copy filtered data to a new sheet? Kerry B Excel Discussion (Misc queries) 3 July 31st 07 08:48 PM
Copy filtered data Secret Squirrel Excel Discussion (Misc queries) 3 March 28th 07 03:05 AM
How to copy just the filtered data? ljCharlie Excel Discussion (Misc queries) 3 February 16th 07 06:38 PM
Copy auto filtered data edinclimb Excel Discussion (Misc queries) 0 January 3rd 06 06:36 PM
Copy filtered data Hans Knudsen Excel Discussion (Misc queries) 3 November 25th 05 01:29 PM


All times are GMT +1. The time now is 05:30 PM.

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

About Us

"It's about Microsoft Excel"