none
MS Project Dafualt duration to 0? RRS feed

  • Question

  • In Project Professional 2007, when a new task is added, a default duration of "1 day" is automatically put into the duration column. I would like to change that to "0" whenever a new task is entered. How?

    0 day or 0 hr vs. 8hr. I do know how to change default days or hours, lust need the value to be or start off as zero.

    I am login in as Larsonmm11, I am having a little problem on viewing the form today do not know why. I am login Livein as Larsonmm11, can you also send me a response vi my hotmail larsonmm11@hotmail.com?

    • Moved by Max Meng Monday, January 23, 2012 3:04 AM Moving to a more appropriate forum (From:Office 2010 Application Compatibility)
    Friday, January 20, 2012 6:48 PM

Answers

All replies

  • Larsonmm11

    I am unaware of how to set the default duration to be 0.  Like you I've noticed there is nothing on the Schedule Project Optoins. It is unusual to have a project where all tasks are the same duration, much less all being zero which makes them by definition a milestone task.


    --rms www.rmschneider.com
    Monday, January 23, 2012 6:12 AM
  • You can do it with VBA code, but as most tasks will need their duration updated anyway, why do it?

    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management
    Monday, January 23, 2012 8:16 AM
    Moderator
  • Develop a macro to do this for you.

    Cheers!


    Michael Wharton, MBA, PMP, MCT, MCSD, MCSE+I, MCDBA, MCC 2011
    www.WhartonComputer.com
    Monday, January 23, 2012 1:57 PM
    Moderator
  • There is not a way to do this out of the box.

    But you can select the tasks you want to have 0 Durations and then run this VBA Macro:

    Sub MakeZero()
    Dim T As Task
    
    For Each T In ActiveSelection.Tasks
        If Not (T Is Nothing) Then
            T.Duration = 0
        End If
    Next T
    End Sub
    


    Brian Kennemer – DeltaBahn Senior Architect
    endlessly obsessing about Project Server…so that you don’t have to.
    Blog | Twitter | LinkedIn
    Monday, January 23, 2012 3:28 PM
    Moderator
  • Bit savage on current tasks!!;-) How about only resetting estimated durations?

        If Not (T Is Nothing) Then
            if t.estimated=true then
    T.Duration = 0
    End if
     End If

    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management
    Tuesday, January 24, 2012 2:56 AM
    Moderator
  • That is why I have it only acting o :-)n the selected tasks so you can pick which tasks it should reset. :-)


    Brian Kennemer – DeltaBahn Senior Architect
    endlessly obsessing about Project Server…so that you don’t have to.
    Blog | Twitter | LinkedIn
    Tuesday, January 24, 2012 5:25 AM
    Moderator