+ Reply to Thread
Results 1 to 4 of 4

Copying and pasting worksheets based on one condition

  1. #1
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    Copying and pasting worksheets based on one condition

    Hi,

    I'm simplying trying to copy everything in worksheet "raw" into worksheet "final set" based on one condition, which is that I want to copy all the rows where the status equals "keep". I want to skip the ones with "delete" status. I have attached the workbook.

    I also have some codes written up, but I am getting an "400" error.

    Please Login or Register  to view this content.
    Any help is appreciated.
    Attached Files Attached Files
    Last edited by Lifeseeker; 04-09-2013 at 12:52 PM.

  2. #2
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Ontario Canada
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Copying and pasting worksheets based on one condition

    Hmm I am not sure why the second for loop with the c is there but I think this will do what you need:

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,474

    Re: Copying and pasting worksheets based on one condition

    Here you go,

    Please Login or Register  to view this content.
    Check out the attached.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    10-21-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    513

    Re: Copying and pasting worksheets based on one condition

    thanks, it worked!

+ 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