none
Task Selection Event in MSP 2010 RRS feed

  • Question

  • Hi,

    Do we have an Event in MSP 2010 for the Task Selection..!!? the way we have ProjectChange, ProjectBefore Save, New Task Created etc.


    Thanks, Parth
    Friday, July 22, 2011 7:00 AM

Answers

  • Hi Parth,

    Since there is no event that can make VBA react, the answer is sorry, no.

    But when you change anything to the task you have the TaskBeforeChange event.

    Greetings,


    • Marked as answer by Parth Rawal Thursday, July 28, 2011 4:38 AM
    Monday, July 25, 2011 9:19 AM
    Moderator
  • though it has not helped fully, but it was a headstart...and i can use the Project_Change Event also for the same...and validate the Task.Name = SelectedCell.Name sort, and it should work..!!
    Thanks, Parth
    • Marked as answer by Parth Rawal Thursday, July 28, 2011 4:39 AM
    Thursday, July 28, 2011 4:39 AM

All replies

  • Hi Parth,

    Did you try with Application.ProjectBeforeTaskChange Event (Project),which Occurs before the user changes the value of a task field. but I not sure about the Taskselection event.



    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82
    Friday, July 22, 2011 7:24 AM
  • I had a look thru help and couldn't find a task selection event.

    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management
    Monday, July 25, 2011 8:19 AM
    Moderator
  • First if all mits an honor to get the reply from you....Thanks :)

    Basically what i want is, when someone selects the Task, automatically that Gantt-Bar should get highlighted with some other color, other then Blue... Basically highlight the Gantt-Bar... is it possible to do ???

     


    Thanks, Parth
    Monday, July 25, 2011 8:47 AM
  • Hi Parth,

    Since there is no event that can make VBA react, the answer is sorry, no.

    But when you change anything to the task you have the TaskBeforeChange event.

    Greetings,


    • Marked as answer by Parth Rawal Thursday, July 28, 2011 4:38 AM
    Monday, July 25, 2011 9:19 AM
    Moderator
  • though it has not helped fully, but it was a headstart...and i can use the Project_Change Event also for the same...and validate the Task.Name = SelectedCell.Name sort, and it should work..!!
    Thanks, Parth
    • Marked as answer by Parth Rawal Thursday, July 28, 2011 4:39 AM
    Thursday, July 28, 2011 4:39 AM