+ Reply to Thread
Results 1 to 6 of 6

Moving entire rows to new sheet once item has a status of "Sold"

  1. #1
    Registered User
    Join Date
    09-28-2013
    Location
    West Palm Beach, Florida
    MS-Off Ver
    Excel 2010
    Posts
    3

    Moving entire rows to new sheet once item has a status of "Sold"

    I'm still very new to Macros and I'm looking to have the entire row move and delete from the sheet it is currently on to the Sold sheet once I type in the word sold in column S. I have gotten this to work in other excel sheets that I have but those are only 2 sheet spreadsheets. This one is several tabs and I'm not quite sure if it is possible or not. Any help would be greatly appreciated. I have attached the spreadsheet that I am currently working on and here is an example of macro that I usually use. I use this one and just edit it to the sheets and information that I am moving. I however have had no luck with the spreadsheet with multiple tabs on it.

    Please Login or Register  to view this content.

    Thank you.
    Attached Files Attached Files
    Last edited by JBeaucaire; 09-28-2013 at 12:27 PM. Reason: Added CODE tags, as per Forum Rules. Take a moment to read the Forum Rules in the menu bar above. Thanks.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Moving entire rows to new sheet once item has a status of "Sold"

    Here's another way to do it.

    1) Remove that macro you had installed in the AWP sheet module, just delete it.
    2) Open the ThisWorkbook module and paste in this macro:
    Please Login or Register  to view this content.
    This version will watch every sheet in your workbook. If at any time you type the word "sold" into any cell and on that same sheet is the word "Green TPA" in cell A1, then that row will be moved to the "SOLD" sheet.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-28-2013
    Location
    West Palm Beach, Florida
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Moving entire rows to new sheet once item has a status of "Sold"

    I'm not sure if I'm doing something wrong or not but I can't seem to get it to work correctly. I deleted the old code and added the one you provided with it stating workbook in the upper right window but it doesn't seem to work for me. Any ideas?
    Attached Files Attached Files

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Moving entire rows to new sheet once item has a status of "Sold"

    I said to open the ThisWorkbook module in the left panel VBAProject panel. Instead you added a Module2 and inserted it there.

    http://screencast.com/t/d744wZKC5Bab

  5. #5
    Registered User
    Join Date
    09-28-2013
    Location
    West Palm Beach, Florida
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Moving entire rows to new sheet once item has a status of "Sold"

    That was exactly what I needed to know. Thanks so much for helping me out while I'm trying to learn all of this.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Moving entire rows to new sheet once item has a status of "Sold"

    No problem, we are a village.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Moving rows from one sheet to another according to Status
    By warri0r in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-30-2013, 12:21 PM
  2. Moving entire row from the "Schedule" worksheet to "Completed" worksheet
    By Redveck in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2012, 02:30 PM
  3. Applying a "Left" formula to an entire column with heading "ValueCol"
    By aad401 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2012, 04:14 PM
  4. [SOLVED] Delete the Rows If it is Blank cell below Table header "Status"
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2012, 05:55 AM
  5. [SOLVED] EXCEL allow 2 options on status bar e.g. show "Count" + "Sum"
    By LEJM in forum Excel General
    Replies: 1
    Last Post: 08-15-2006, 06:50 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