+ Reply to Thread
Results 1 to 11 of 11

Automatically move a row in excel to a new worksheet when a date is entred

  1. #1
    Registered User
    Join Date
    09-11-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Question Automatically move a row in excel to a new worksheet when a date is entred

    Hi,

    I am hoping someone could help me.

    I have a couple of spread sheets where I would like the entire row to move to a new worksheet when I entre the completion date (or just yes if date is not possible) making one worksheet the active and one completed.
    I would the row to go to the top of the new worksheet so the most resent is always at the top.

    I have tried to edit some of the codes posted before but none are working for me.

    I have content in columns A-M but L is where the completion date is. I have conditional formatting (colour changes) on the first worksheet but I do not need this on the "completed" worksheet.

    I would be extremely grateful for any help.

    Thank you in advance

    EKG

  2. #2
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    please post a sample workbook.

  3. #3
    Registered User
    Join Date
    09-11-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    Please find an example of it attached - I have had to remove some of the data hope this is still ok to work from.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    Maybe:

    Please Login or Register  to view this content.
    Last edited by JOHN H. DAVIS; 10-06-2017 at 11:43 AM.

  5. #5
    Registered User
    Join Date
    09-11-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    Hi John,
    Thank you but that just seemed to change the cell with the date dark blue, but nothing moved.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    Note last edit to post at 11:43.

  7. #7
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    working on a solution, maybe I'll beat John to the punch (lol, probally not).

  8. #8
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    ok, try this:

    put this in the sheet code for tab "Destruction"

    Please Login or Register  to view this content.
    note the upper range of keycells

    and put this in a module:

    Please Login or Register  to view this content.
    probably don't need the case statement, it's a holdover from my older code.

  9. #9
    Registered User
    Join Date
    09-11-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    Thank you both for the help you are amazing.
    dmcgov I went with Johns as it worked.

  10. #10
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    You're welcome. Glad to help out and thanks for the feedback. Please review the Forum Rules below and mark this thread as SOLVED.

    https://www.excelforum.com/forum-rul...rum-rules.html

  11. #11
    Registered User
    Join Date
    09-11-2017
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Re: Automatically move a row in excel to a new worksheet when a date is entred

    I feel I need to apologise and clarify, when I said "dmcgov I went with Johns as it worked" that should have been I tried Johns and it worked so I kept it, I was not saying that dmcgov did not work.
    I am so grateful for the work you both did.

    Thank you

+ 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. Replies: 8
    Last Post: 02-16-2015, 03:39 AM
  2. Automatically move row of data in table from one worksheet to another
    By steveb1988 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2014, 05:07 PM
  3. Automatically move row from one worksheet to another
    By lpc87 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-14-2013, 02:16 PM
  4. Replies: 1
    Last Post: 09-14-2012, 09:02 PM
  5. [SOLVED] Move data to another worksheet and automatically run macro.
    By ghoshl1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2012, 02:16 PM
  6. automatically move row to another worksheet
    By CA enpet in forum Excel General
    Replies: 0
    Last Post: 08-04-2006, 04:55 PM
  7. [SOLVED] HOW MANY ROWS CAN BE ENTRED IN EXCEL ?
    By Chandra in forum Excel General
    Replies: 3
    Last Post: 01-04-2006, 06:42 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