+ Reply to Thread
Results 1 to 6 of 6

Cut and Paste Rows if a Row has Key Word in Column

  1. #1
    Registered User
    Join Date
    08-08-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    13

    Talking Cut and Paste Rows if a Row has Key Word in Column

    So I have data that comes in with each row being a different instance. Each row has data in the same columns. My problem is that some of the data needs to be cut and pasted one row below a summary row (which is below the rest of the data with 1 row separating the data and the sum row). There is sometimes no data that needs cut and some times a lot - all rows that contain a specific keyword in the B column need to be cut and moved.

    Do you know how I can do this using VBA? I would like to make it so it does it until all are removed, then stop without erroring.

    Thank you!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: ** Selective Cut and Paste - Cutting and Pasting Rows if a Row has Key Word in Co

    Post a workbook and explain in context.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-27-2011
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: ** Selective Cut and Paste - Cutting and Pasting Rows if a Row has Key Word in Co

    If you could post a sample spreadsheet it would be really helpful.

  4. #4
    Registered User
    Join Date
    08-08-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Cut and Paste Rows if a Row has Key Word in Column

    How do I get this to show in spreadsheet format? It just does text when I copy and paste.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Cut and Paste Rows if a Row has Key Word in Column

    The forum rules explain how to add an attachment.

  6. #6
    Registered User
    Join Date
    08-08-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Cut and Paste Rows if a Row has Key Word in Column

    Here's a sample workbook.

    thanks!
    Attached Files Attached Files

+ 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