+ Reply to Thread
Results 1 to 2 of 2

Need to move data that matches criteria in cell and move to new worksheet

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    West Columbia, Tx
    MS-Off Ver
    Excel 2007
    Posts
    29

    Need to move data that matches criteria in cell and move to new worksheet

    I have a workbook that I move data into it monthly. I would like to move data, the entire line, from a sheet named "Days Open" that contains the words "On Hold" in column G, and move it to a spreadsheet named "On Hold". I would like the lines that are empty on Days Open to be deleted and the moved data to the On Hold sheet to be added to the first empty spot. Don't want it to overwrite it. Please help.....

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Need to move data that matches criteria in cell and move to new worksheet

    Hi, panagle,

    I would like to move data, the entire line, from a sheet named "Days Open" that contains the words "On Hold" in column G, and move it to a spreadsheet named "On Hold".
    Starting a macro that loops through all cells on that sheet or better uses the Autofilter to narrow down the number of line, copy all visible cells under the header and insert them after the last filled line in the destination sheet, delete the lines in the original Sheet, disable the Autofilter? Or start the process as an event (by entering the value into any cell on Column G or using Data/Validation, on activating the sheet)?

    Right click on the Sheet Tab for sheet "Days Open", insert the code, any change to column G with on hold will cut and amend the row to "On Hold":
    Please Login or Register  to view this content.
    Please make sure that there will always be data in Column A as this is checked for the last entry, otherwise alter to suit.


    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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