+ Reply to Thread
Results 1 to 6 of 6

Copy paste to different tab base on condition

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Copy paste to different tab base on condition

    Hi,

    I want to minimise the manipulation of a data excel file, so I am wondering if anyone can help me out with this:

    1) Scanning from C2 to last row: If C2 = GAME 1, then it will copy the rows to another worksheet called: "TAB GAME 1" then until last row.

    2) It will then repeat but for another condition such as: If C2 = GAME 2 then it will copy the rows to another worksheet called "TAB GAME 2" then until last row.

    Thanks.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy paste to different tab base on condition

    Hi Calvin,

    Until you post a sample, try this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy paste to different tab base on condition

    Maybe:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Re: Copy paste to different tab base on condition

    Hi,

    Thanks for you guys code, however, I made this but it works only for 1 cell. How can I change it so it can work for the whole row?

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Re: Copy paste to different tab base on condition

    I guess I found it..I can use the following:
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy paste to different tab base on condition

    Hi Calvin,

    Glad you found it! Thanks for the rep!

    If you want to post the workbook then we can help more!

+ 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. Copy&Paste Value data of daily base transactions using MACRO
    By mikoski in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2014, 09:15 PM
  2. [SOLVED] Copy paste with filtering condition
    By Jhon Mustofa in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-20-2014, 06:15 AM
  3. [SOLVED] Copy and Paste Row If Condition is Met
    By mattman123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2013, 01:26 PM
  4. Copy and Paste Values Base On Criteria
    By allan.90 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-03-2012, 01:56 PM
  5. Copy paste based on a condition
    By jay36429 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2011, 01:36 PM

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