+ Reply to Thread
Results 1 to 6 of 6

When items are marked complete, move to another sheet

  1. #1
    Registered User
    Join Date
    06-20-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2013
    Posts
    14

    Thumbs up When items are marked complete, move to another sheet

    Hi Folks,

    I know this question has been asked a million times (I keep finding them on Google), but I am a complete VBA novice and can never actually get it to work, so if someone can step me through what I'm trying to do, it would be much appreciated.

    I'm keeping a log of tasks that are to be completed - when the task is marked complete in Col H, and the completed date entered into Column I, I want it to be automatically copied onto the "Completed Items" tab, and that row then removed from Active Items.

    I've attached my sample data. Lines 2, 6, 8, 9 and 10 should all be moved into the Completed tab.

    Ideally would also like to keep the formatting if possible, but it's not essential.

    Can anyone help with this? Thanks!!
    Attached Files Attached Files
    Last edited by milleniummanp7; 05-25-2016 at 07:52 AM. Reason: Solved

  2. #2
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: When items are marked complete, move to another sheet

    see if this is close to what you want
    The trigger is when a date is put in the date column, but it will only trigger if column to left has "Yes" in it
    If you put the date in first by mistake, delete it, then select "Yes" and then put the date in

    Easy to modify if you want it trigerred on another basis ( eg when column H and column I are both complete and if column H = "yes")

    Please Login or Register  to view this content.
    Attached Files Attached Files
    If a response has helped then please consider rating it by clicking on *Add Reputation below the post
    When your issue has been resolved don't forget to mark the thread SOLVED (click Thread Tools at top of thread)

  3. #3
    Registered User
    Join Date
    06-20-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: When items are marked complete, move to another sheet

    Kevin#, thank you!! This is exactly what I needed!

    Question, if I decided to remove the column for Complete Yes/No, and use only the date as the trigger, what do I need to change?

    Also, rather than the window just saying "Trigger" is there a way I can change it to display a message like "Item moved to complete"? (just for aesthetics).

  4. #4
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: When items are marked complete, move to another sheet

    This assumes that you are deleting columnH, and that columnH now = date field

    The macro is simplified
    and triggered whenever there is a change in one of the date values

    Please Login or Register  to view this content.
    EDIT
    Oh I forgot this bit:

    Add this line immediately below the line beginning If Target.column...
    Please Login or Register  to view this content.

    or to be techically accurate (because it has not moved quite yet..)

    instead add this line below Rows(Target.Row).EntireRow.Delete
    Please Login or Register  to view this content.
    Last edited by Kevin#; 05-24-2016 at 12:30 PM.

  5. #5
    Registered User
    Join Date
    06-20-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: When items are marked complete, move to another sheet

    This is exactly what I needed. Thanks a lot Kevin#!

  6. #6
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: When items are marked complete, move to another sheet

    Excellent
    Don't forget to mark the thread as solved

    thanks
    K

+ 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. Macro that will move items marked with x with another sheet
    By geliedee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-03-2014, 05:16 PM
  2. Replies: 3
    Last Post: 09-03-2014, 09:32 AM
  3. [SOLVED] How to cut and paste into another worksheet a row marked complete?
    By evening in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-09-2014, 02:28 PM
  4. [SOLVED] Move "Complete" Items to another sheet in workbook
    By KathyWilk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2012, 02:36 PM
  5. Replies: 4
    Last Post: 06-13-2012, 01:34 AM
  6. Outlook 2007 rule to move "marked as complete" messages to a specified folder
    By cybnexcel in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 03-24-2011, 11:28 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