+ Reply to Thread
Results 1 to 6 of 6

Macro Needed - Move data to worksheet based on criteria

  1. #1
    Registered User
    Join Date
    12-31-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Macro Needed - Move data to worksheet based on criteria

    Good Day,

    I am wondering if someone can help me write a macro to move data from one worksheet to the next. Eliminating rows that have met a specific criteria.

    I have attached the workbook.

    Basically I am looking to move January data to February at the end of the month. Unless the final column in the row (AO) is marked yes.

    Thank you for your help.
    BJ
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Macro Needed - Move data to worksheet based on criteria

    Hi
    this macro will copy everything on the active sheet and paste it onto the next sheet, then delete every row which has the value "yes" in column AO

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Macro Needed - Move data to worksheet based on criteria

    Does this do what you want?

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    12-31-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Macro Needed - Move data to worksheet based on criteria

    NickyC

    Thank you this code works great. There is just one hiccup.

    The data on the active sheet is entered into the cells using a combo box. When the data is transfered to the next sheet the rows that are removed as per the criteria delete but, the combo boxes remain and appear under the combo box for the row above.

    Would you have suggestions for correcting this?

    BJ

  5. #5
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Macro Needed - Move data to worksheet based on criteria

    ok, try this variation - it should delete all the shapes in the row that you delete

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    12-31-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Macro Needed - Move data to worksheet based on criteria

    Thank you - works perfectly.

+ 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. Move data to specific worksheet based on Column A criteria.
    By forestminuet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2013, 01:44 PM
  2. I need to move data from main worksheet into multiple worksheets based on a criteria
    By ksenia81 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2012, 05:45 PM
  3. [SOLVED] Code needed to move rows to different worksheet based on date
    By collinlo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-14-2012, 11:28 AM
  4. [SOLVED] Macro Needed to Move Data Between Columns Depemding on Certain Criteria
    By scott.bailey.g4s in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-25-2012, 02:45 AM
  5. Replies: 2
    Last Post: 06-29-2011, 03:35 AM

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