![]() If InStr(L, ActiveProject.Tasks(i).Text2, L(y), 1) 0 Then If Not ActiveProject.Tasks(i).Text2 = "" Then ![]() If InStr(1, ActiveProject.Tasks(i).Text2, "Titre", 1) 0 Then If Not ActiveProject.Tasks(i) Is Nothing Then Wouls anyone have an idea of a way to avoid this problem, or a specific command? (I use MSProject 2016 by the way)Įdit: Here is the code I use, I created two arrays before, L() (list of key words to colour the tasks on the Timeline) and Couleur() (the colours) WindowActivate TopPane:=True However, this command doesn't select the task it just inserted in the timeline, and I can't find in vba forums a command that seems to do so. For this, I select the tasks with the right key word, and use the "TaskOnTimeline" command. ![]() I am looking for a way to create a Timeline on MSProject, with colors matching key words in the "Text2" column of my tasks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |