+ Reply to Thread
Results 1 to 4 of 4

Copy Cells to another Worksheet Based on Multi Criteria

  1. #1
    Registered User
    Join Date
    03-25-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    9

    Copy Cells to another Worksheet Based on Multi Criteria

    I read this thread that almost as the code that i need.

    Please Login or Register  to view this content.
    As the original author i want to paste only column A to E (without the field criteria column).
    Please, someone can point me to changes that i have to make!?
    Thanks in advance,
    Luís

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Copy Cells to another Worksheet Based on Multi Criteria

    Hi,

    please check the attached sample which contains test data from the other thread you mentioned and adapted code to copy only columns A-E: CopyToSeparateSheetsWithCondition.xls
    if you need to change the number of columns again do this in "Resize(, 5)" where 5 is the number of columns starting at A

    code:
    Please Login or Register  to view this content.
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  3. #3
    Registered User
    Join Date
    03-25-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Copy Cells to another Worksheet Based on Multi Criteria

    I think I got it!
    I´m using this:
    Please Login or Register  to view this content.
    Must test more to see if it works!

  4. #4
    Registered User
    Join Date
    03-25-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Copy Cells to another Worksheet Based on Multi Criteria

    Hi tehneXus,

    Just now i saw your reply. Your code works better for me I think.

    Thanks

+ 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