+ Reply to Thread
Results 1 to 7 of 7

worksheet change - cut row, move to desired sheet, delete original row

  1. #1
    Registered User
    Join Date
    02-13-2015
    Location
    phoenix
    MS-Off Ver
    2007/2010
    Posts
    10

    worksheet change - cut row, move to desired sheet, delete original row

    I am working some different worksheet changes and can't seem to get this one to fire off properly. We work with sale dates and often times these dates get either canceled completed or the sale is re-scheduled for a new date.

    When these sales are canceled i want to be able to move that entire row from our "master" sheet to our "futures" tab. I am not sure if its because i have conflicting worksheet changes or if my code is incorrect.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: worksheet change - cut row, move to desired sheet, delete original row

    Hi dsmith616

    A little bit of both. Since I don't know your Data, you'll need to clean up the Cut/Paste part of the Code.
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    02-13-2015
    Location
    phoenix
    MS-Off Ver
    2007/2010
    Posts
    10

    Re: worksheet change - cut row, move to desired sheet, delete original row

    Quote Originally Posted by jaslake View Post
    Hi dsmith616

    A little bit of both. Since I don't know your Data, you'll need to clean up the Cut/Paste part of the Code.
    Please Login or Register  to view this content.
    I've tried to use your code and now neither parts of the worksheet change are working. Is there anymore information I can provide that would be beneficial? I am also including a sample of what my worksheet looks like.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-13-2015
    Location
    phoenix
    MS-Off Ver
    2007/2010
    Posts
    10

    Re: worksheet change - cut row, move to desired sheet, delete original row

    just as a quick summary of what we are attempting to accomplish:

    1. When dates are added into the 'Submitted' column on the master tab the first worksheet change should fire setting an expiration date 60 days out.
    2. When a sale date is removed from column A; we would like that entire row to be moved from master to futures while deleting the original entry in the master leaving only the newly moved entry in the futures tab

    thanks in advance!

  5. #5
    Registered User
    Join Date
    02-13-2015
    Location
    phoenix
    MS-Off Ver
    2007/2010
    Posts
    10

    Re: worksheet change - cut row, move to desired sheet, delete original row

    So I stumbled across this code snippet that almost does everything I need it to EXCEPT after it moves the data over to the new tab it does not delete the blank row left on the master tab

    Please Login or Register  to view this content.

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: worksheet change - cut row, move to desired sheet, delete original row

    Hi dsmith616

    Try this
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    02-13-2015
    Location
    phoenix
    MS-Off Ver
    2007/2010
    Posts
    10

    Re: worksheet change - cut row, move to desired sheet, delete original row

    Quote Originally Posted by jaslake View Post
    Hi dsmith616

    Try this
    Please Login or Register  to view this content.
    sorry for the delayed response I was out on vacation and refused to work! LOL

    Anyways, came back to this finally and just wanted to say it works PERFECTLY! thank you much!

+ 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] Delete both Original and duplicate rows off data in 1 column for entire sheet
    By Caraexcel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-01-2014, 01:33 AM
  2. [SOLVED] Move entire row from one sheet to another based on cell value & delete the original row
    By ceciliacrawford in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-08-2014, 03:12 AM
  3. [SOLVED] VBA move entry on condition and delete original Problem
    By Steveluba in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2013, 12:16 PM
  4. move files to another folder delete original
    By D_Rennie in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-09-2009, 02:50 AM
  5. Application.GetOpenFilename, Attach files to Email, Move files, Delete Original.
    By D_Rennie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2009, 12:11 AM
  6. Filter records, paste into a different sheet, delete rows from original sheet.
    By gloworm1973 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2009, 05:24 AM
  7. Replies: 3
    Last Post: 08-23-2008, 06:01 PM

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