+ Reply to Thread
Results 1 to 3 of 3

filter data from one workbook and paste in other workbook

  1. #1
    Registered User
    Join Date
    11-12-2013
    Location
    lahore pakistan
    MS-Off Ver
    Excel 2007
    Posts
    44

    filter data from one workbook and paste in other workbook

    Hi Everybody!

    I have three workbooks named book1, Book2 and Book3. Book1 is master while Book2 & Book3 are Secondar. Each Book has 12 sheets named S1 to S12 (there are other sheets as well). All Sheets have same Column Headers and data rows started from row 5.

    I want to filter entire row data based on certain criteria from book1 field 22 (criteria1 and Criteria2 that is there are two types of values) and copy that data for criteria1 into book2 and for criteria2 into book3 and ofcourse into respective sheets.

    I have recorded a macro;

    Windows("Book1.xlsm").Activate
    Sheets("S1").Select
    Rows("4:4").Select
    Selection.AutoFilter
    ActiveSheet.Range("$B$4:$CC$4").AutoFilter Field:=22, Criteria1:="75"
    Rows("5:200").Select
    Selection.Copy
    Windows("Book2.xlsm").Activate
    Sheets("S1").Select
    Rows("5:5").Select
    ActiveSheet.Paste

    Regards
    Rahat

  2. #2
    Registered User
    Join Date
    11-12-2013
    Location
    lahore pakistan
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: filter data from one workbook and paste in other workbook

    Hi dear

    thank you for your reply.

    Here is the tag;

    Please Login or Register  to view this content.
    Thank you.

  3. #3
    Registered User
    Join Date
    11-12-2013
    Location
    lahore pakistan
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: filter data from one workbook and paste in other workbook

    can somebody help me?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel VBA filter to criteria and copy data and paste to another workbook
    By aalvaro03 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-19-2013, 07:33 PM
  2. [SOLVED] Copying data from a closed workbook into an open workbook ignoring excel filter?
    By reach78 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-17-2013, 12:31 AM
  3. Open workbook, filter values, copy/paste into Active workbook.
    By niceguy21 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2013, 12:17 PM
  4. Data from another workbook, filter by month for each sheet in new workbook.
    By Mcyd in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-20-2012, 01:08 AM
  5. Filter data on seperate workbook and paste on current workbook
    By ZeDoctor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2012, 08:08 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