+ Reply to Thread
Results 1 to 2 of 2

Filter only records containing 'x', copy, paste in new sheet, and then delete. Please help

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    37

    Filter only records containing 'x', copy, paste in new sheet, and then delete. Please help

    Hi,

    I would really appreciate someone's help on this one, and thanks in advance.

    Ok What I need is to be able to do the following:

    1. Have a button in Sheet1 that filters a range of data in Sheet2.
    2. The filter would be based on a column (the range of data) in Sheet2 that contains either a 'Yes' or 'No' only.
    3. If the column contains 'No', do nothing.
    4. If the column contains 'Yes', then:
    4a. Filter and copy only the 'Yes' rows (including the header row),
    4b. create a new sheet (Sheet3),
    4c. Paste all copied rows (including header row) into new sheet,
    4d. From inside Excel, open a pre-made MSWord template and merge the copied records (excluding header row), save and print,
    4e. Close Word,
    4f. Delete newly created sheet (Sheet3),
    4g. If possible, change all the 'Yes's on the original sheet (Sheet2) to 'No' so they won't be 'picked up' then next time the macro is run.
    4h. Unfilter Sheet2 to show it's original order.

    This is one of the last things I need for my project which I need to try and finish this week, so anyone's help would be fantastic. Thanks!

  2. #2
    Registered User
    Join Date
    08-30-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: Filter only records containing 'x', copy, paste in new sheet, and then delete. Please

    Hello? Anyone home?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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