+ Reply to Thread
Results 1 to 2 of 2

Filter, then copy

  1. #1
    Registered User
    Join Date
    05-31-2007
    Posts
    44

    Filter, then copy

    Hi.

    I have the following data in columns A, B and C of Worksheet1

    Student_Name Best_Subject Age
    AAA English 13
    BBB Math 14
    CCC English 13
    DDD English 14
    ... ... ... ... ...
    ZZZ Science 15

    I have created a drop down list in Worksheet2 of "Best_Subj" and "Age".

    Please help with the VBA codes which would automatically select the rows (in Sheet1) which satisfy the filtering criteria I have selected and paste these rows into Sheet2, starting from cell("A8").

    For example, if I were to select "English" in "Best_Subj" and "13" in "Age" in Worksheet2, the VBA code will automatically filter those rows in Worksheet1 satisfying the selected criteria and copy these rows to Worksheet2, starting from "A8".

    Thank you very much

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    This link may get you started

    http://www.rondebruin.nl/copy5.htm#1)


    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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