+ Reply to Thread
Results 1 to 5 of 5

Cut and paste rows in a signle column to another sheet

  1. #1
    Registered User
    Join Date
    03-12-2013
    Location
    Florida, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Post Cut and paste rows in a signle column to another sheet

    So I need to search the attached page for rows starting at a specific value until an ending value, cut the rows, and paste on a new sheet.

    So, in this example. I will search for the FIRST instance of "DEPAL" (Column contains the search values twice) and stop at the first instance of "SHEET TOTAL LABELS=>", cut every row from the "DAPAL" row to the 'SHEET TOTAL LABELS=>" row, and paste in an existing sheet. (we can call it "Sheet1", I can change it to fit.

    Then I will do the same with "DPA1E" until "SHEET TOTAL LABELS=>" cut the same way. and paste in existing sheet.

    "SHEET TOTAL LABELS=>" repeats after every section, so it would only go to the first one it comes across.

    I appreciate the help. I get good information from the site, but don't have time to try to fisure this out myself. Have a deadline to meet.
    Attached Files Attached Files
    Last edited by rrogoski; 03-28-2013 at 09:12 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Cut and paste rows in a signle column to another sheet

    So as per your attached sheet - rows 2 to 5 should go to sheet1, then rows 8 to 75 below the other data and then 78 to 85 below the existing data?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-12-2013
    Location
    Florida, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Cut and paste rows in a signle column to another sheet

    Yes, but the rows change each day the report is generated.

    SO, the line 5 may actually be line 9 today with another 4 rows of data before it.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Cut and paste rows in a signle column to another sheet

    Yes i understand that part. The reason i specified the row numbers is to check if i have understood what you need.

  5. #5
    Registered User
    Join Date
    03-12-2013
    Location
    Florida, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Cut and paste rows in a signle column to another sheet

    Quote Originally Posted by arlu1201 View Post
    Yes i understand that part. The reason i specified the row numbers is to check if i have understood what you need.
    Yes, that is what I need. But, the 2nd section would go to Sheet2 and the 3rd to Sheet3, etc.
    Last edited by rrogoski; 03-28-2013 at 05:37 PM.

+ 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