Results 1 to 3 of 3

How to - ( Book1 - Filter & Copy) --> (Book2 - Filter & Paste)?

Threaded View

  1. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,840

    Re: How to - ( Book1 - Filter & Copy) --> (Book2 - Filter & Paste)?

    I understand about the data to be copied. What I don't understand is where the data is to be pasted in the Paste worksheet. Your explanation makes no sense to me. To get you started, here is the copy and paste code (filtered) and pastes it to the second sheet of the first file in cell A1 as I did not understand your paste issue. You can modify this as needed.

    Sub A_()
    
        Range("A1:D1").AutoFilter
        ActiveSheet.Range("$A$1:$D$47").AutoFilter Field:=1, Criteria1:="Tier1App"
        ActiveSheet.Range("$A$1:$D$47").AutoFilter Field:=3, Criteria1:="T"
        Range("A2:D17").Copy Sheets("Sheet2").Range("A1")
    End Sub
    Last edited by alansidman; 10-06-2013 at 11:56 PM.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 13
    Last Post: 05-15-2012, 06:53 PM
  2. compare products from Book1 to Book2 and show differences
    By garyk76 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2010, 06:31 AM
  3. subtract values of book1 from book2
    By adyan76 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2009, 06:12 AM
  4. [SOLVED] Need macro to filter, create tab on filter and copy/paste
    By Jen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2006, 11:50 AM
  5. Replies: 1
    Last Post: 11-08-2005, 08:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1