+ Reply to Thread
Results 1 to 12 of 12

Need help automating task tracker for team= Please help.

Hybrid View

jmawea Need help automating task... 10-28-2013, 11:35 PM
BrianM45 Re: Need help automating task... 10-28-2013, 11:52 PM
jmawea Re: Need help automating task... 10-29-2013, 12:02 AM
jmawea Re: Need help automating task... 10-29-2013, 12:09 AM
BrianM45 Re: Need help automating task... 10-29-2013, 10:39 AM
jmawea Re: Need help automating task... 10-29-2013, 11:10 PM
BrianM45 Re: Need help automating task... 10-29-2013, 11:19 PM
jmawea Re: Need help automating task... 10-30-2013, 12:17 AM
BrianM45 Re: Need help automating task... 10-30-2013, 12:21 AM
jmawea Re: Need help automating task... 10-30-2013, 12:24 AM
BrianM45 Re: Need help automating task... 10-30-2013, 12:35 AM
jmawea Re: Need help automating task... 10-30-2013, 12:57 AM
  1. #1
    Registered User
    Join Date
    10-28-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Talking Need help automating task tracker for team= Please help.

    All-

    In order to help my team and I stay on top of all the current project tasks on our plates, I've put together the attached tracker. For confidentiality reasons, I've erased the contents of columns B & C.

    I've looked on-line for some time and have had no luck. In new to the VBA world and wasn't able to get anything I found to work.

    Here is what I'm looking to do.

    When something a row on Column D is marked "Done" the whole row is automatically moved to the "Completed Tab"

    Team Tracker-Clean.xlsm

    P.s. This is my first post! There is so much valuable information in the forum. I look forward to learning from all of you and hope that one day I've learned enough to help others.

  2. #2
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Re: Need help automating task tracker for team= Please help.

    Hi jmawea

    Try this code in Worksheet "Active"
    Private Sub Worksheet_Change(ByVal Target As Range)
      Dim LastRow As Long
      If Not Intersect(Target, Range("D4:D76")) Is Nothing Then
        If MsgBox("Do you want to move the line ?", vbQuestion + vbYesNo, "QUESTION ...") = vbYes Then
          Application.EnableEvents = False
          Range("B" & Target.Row).UnMerge
          LastRow = Sheets("Completed").Range("D" & Rows.Count).End(xlUp).Row
          Rows(Target.Row).Copy Destination:=Sheets("Completed").Range("A" & LastRow + 1)
          Rows(Target.Row).Delete Shift:=xlUp
          Application.EnableEvents = True
        End If
      End If
    End Sub
    A+

  3. #3
    Registered User
    Join Date
    10-28-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need help automating task tracker for team= Please help.

    Hi Brian-


    That was fast. Thank you so much!!!

    I was having issues getting the code to run since I'm so new at this but I figured it out. Thanks again.
    Last edited by jmawea; 10-29-2013 at 12:42 AM.

  4. #4
    Registered User
    Join Date
    10-28-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need help automating task tracker for team= Please help.

    On column D, we use dates until it's it is marked "Done" at that point I asks if I want to move and if yes, it works perfect.

    Is there a way to remove the question and only move the row when marked done and not promoting to move if I just update the cell?

    Thanks,
    Manuel
    Last edited by jmawea; 10-29-2013 at 12:44 AM.

  5. #5
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Re: Need help automating task tracker for team= Please help.

    Hi,

    Quote Originally Posted by jmawea View Post
    On column D, we use dates until it's it is marked "Done" at that point I asks if I want to move and if yes, it works perfect.
    Is there a way to remove the question and only move the row when marked done and not promoting to move if I just update the cell?
    Yes, delete line
    If MsgBox("Do you want to move the line ?", vbQuestion + vbYesNo, "QUESTION ...") = vbYes Then
    and the line before the last
    End If

  6. #6
    Registered User
    Join Date
    10-28-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need help automating task tracker for team= Please help.

    Thanks- That got rid of the question, but if i update the cell on row D, it move it to the completed Tab.
    Here is what i'm looking for.

    If date is changed: No Action- Row stay in place, no question is asked
    If date is changed to "Done" The Row is moved to the completed tab

    the latter is working, but when I change the date, the current code moves the cell to the complete tab....

    Thank you in advance

  7. #7
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Re: Need help automating task tracker for team= Please help.

    Hi

    Haaaa oups ;-)

    The correct code
    Private Sub Worksheet_Change(ByVal Target As Range)
      Dim LastRow As Long
      If Not Intersect(Target, Range("D4:D76")) Is Nothing Then
        If Target.Value = "Done" Then
          Application.EnableEvents = False
          Range("B" & Target.Row).UnMerge
          LastRow = Sheets("Completed").Range("D" & Rows.Count).End(xlUp).Row
          Rows(Target.Row).Copy Destination:=Sheets("Completed").Range("A" & LastRow + 1)
          Rows(Target.Row).Delete Shift:=xlUp
          Application.EnableEvents = True
        End If
      End If
    End Sub
    Sorry

  8. #8
    Registered User
    Join Date
    10-28-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need help automating task tracker for team= Please help.

    That worked, but found one more issue

    When I insert a row, I get an error. Here are the screen shots
    Last edited by jmawea; 10-30-2013 at 12:22 AM.

  9. #9
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Re: Need help automating task tracker for team= Please help.

    Quote Originally Posted by jmawea View Post
    Absolutely fantastic! This is perfect. I really appreciate your help in this.
    For nothing ;-)

    At one of these days

  10. #10
    Registered User
    Join Date
    10-28-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need help automating task tracker for team= Please help.

    Capture2.JPGCapture1.JPG

    Oops- here are the screen shots.

  11. #11
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Re: Need help automating task tracker for team= Please help.

    All right ;-)

    Private Sub Worksheet_Change(ByVal Target As Range)
      Dim LastRow As Long
      ' Test for no error when insert or delete row
      If Target.Count > 1 Then Exit Sub
      ' Test where change is made
      If Not Intersect(Target, Range("D4:D76")) Is Nothing Then
        If Target.Value = "Done" Then
          Application.EnableEvents = False
          Range("B" & Target.Row).UnMerge
          LastRow = Sheets("Completed").Range("D" & Rows.Count).End(xlUp).Row
          Rows(Target.Row).Copy Destination:=Sheets("Completed").Range("A" & LastRow + 1)
          Rows(Target.Row).Delete Shift:=xlUp
          Application.EnableEvents = True
        End If
      End If
    End Sub

  12. #12
    Registered User
    Join Date
    10-28-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need help automating task tracker for team= Please help.

    You are a genius. I wish there was something I could do to repay you for all the help. Thank you sooo 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. Fantasy NASCAR team point tracker
    By dwkmd in forum Excel General
    Replies: 3
    Last Post: 02-23-2013, 07:02 AM
  2. Task Tracker - Filtering by ascending date and exceptions
    By sk8ersquare in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2013, 01:36 AM
  3. Need Excel daily Task tracker template
    By fzzd2x in forum Excel General
    Replies: 0
    Last Post: 09-26-2012, 09:37 AM
  4. Task Tracker Spreadsheet
    By wildgoosed in forum Excel General
    Replies: 3
    Last Post: 05-13-2011, 06:19 PM
  5. [SOLVED] Advice on Automating Task
    By Steve in forum Excel General
    Replies: 1
    Last Post: 03-25-2006, 02:17 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