The issue is when I add the task on the timeline I try to colour the task added (on the timeline and not on the Gantt table), but the task is not selected, so the Font32Ex command doesn't work. 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 The right pane is the Gantt Chart, which shows the timeline of the project. 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 which takes up too much space in the date columns. 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. How do I change the date format on MS Project I used to be able to choose to show it as a mm/day/yr, but the default is Tuesday 10/18/11. 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 |