Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Gérard Ducouret
Bonjour Brucat, Essaie cela :
Sub chgt() Dim oTache As Task, i As Integer For Each oTache In ActiveProject.Tasks i = i + 1 If oTache.Summary And oTache.OutlineLevel = 1 Then SelectRow row:=i, RowRelative:úlse Font Color:=oTache.Number1 End If Next oTache End Sub
"brucat" a écrit dans le message de news:djh15b$f1d$
Bonjour,
J'aimerai via VBA que les taches de niveau 1 soit en couleur selon le colorie indiqué dans le champ Number 1 mais pour tout mon projet.
Voici mon code comment l'adapter pour tout le projet.
Sub chgt()
Dim oTache As Task
For Each oTache In ActiveSelection.Tasks
If oTache.Summary And oTache.OutlineLevel = 1 Then SelectRow Font Color:=oTache.Number1 End If
Next oTache
End Sub
Merci.
Bonjour Brucat,
Essaie cela :
Sub chgt()
Dim oTache As Task, i As Integer
For Each oTache In ActiveProject.Tasks
i = i + 1
If oTache.Summary And oTache.OutlineLevel = 1 Then
SelectRow row:=i, RowRelative:úlse
Font Color:=oTache.Number1
End If
Next oTache
End Sub
"brucat" <brucat@tiscali.fr> a écrit dans le message de
news:djh15b$f1d$1@news.tiscali.fr...
Bonjour,
J'aimerai via VBA que les taches de niveau 1 soit en couleur selon le
colorie indiqué dans le champ Number 1 mais pour tout mon projet.
Voici mon code comment l'adapter pour tout le projet.
Sub chgt()
Dim oTache As Task
For Each oTache In ActiveSelection.Tasks
If oTache.Summary And oTache.OutlineLevel = 1 Then
SelectRow
Font Color:=oTache.Number1
End If
Sub chgt() Dim oTache As Task, i As Integer For Each oTache In ActiveProject.Tasks i = i + 1 If oTache.Summary And oTache.OutlineLevel = 1 Then SelectRow row:=i, RowRelative:úlse Font Color:=oTache.Number1 End If Next oTache End Sub
"brucat" a écrit dans le message de news:djh15b$f1d$
Bonjour,
J'aimerai via VBA que les taches de niveau 1 soit en couleur selon le colorie indiqué dans le champ Number 1 mais pour tout mon projet.
Voici mon code comment l'adapter pour tout le projet.
Sub chgt()
Dim oTache As Task
For Each oTache In ActiveSelection.Tasks
If oTache.Summary And oTache.OutlineLevel = 1 Then SelectRow Font Color:=oTache.Number1 End If
Next oTache
End Sub
Merci.
brucat
merci c'est super
"Gérard Ducouret" a écrit dans le message de news:
Bonjour Brucat, Essaie cela :
Sub chgt() Dim oTache As Task, i As Integer For Each oTache In ActiveProject.Tasks i = i + 1 If oTache.Summary And oTache.OutlineLevel = 1 Then SelectRow row:=i, RowRelative:úlse Font Color:=oTache.Number1 End If Next oTache End Sub
"brucat" a écrit dans le message de news:djh15b$f1d$
Bonjour,
J'aimerai via VBA que les taches de niveau 1 soit en couleur selon le colorie indiqué dans le champ Number 1 mais pour tout mon projet.
Voici mon code comment l'adapter pour tout le projet.
Sub chgt()
Dim oTache As Task
For Each oTache In ActiveSelection.Tasks
If oTache.Summary And oTache.OutlineLevel = 1 Then SelectRow Font Color:=oTache.Number1 End If
Next oTache
End Sub
Merci.
merci
c'est super
"Gérard Ducouret" <gerard.ducouret@wanadooNOSPAM.fr> a écrit dans le message
de news: OUEiA8G2FHA.2072@TK2MSFTNGP14.phx.gbl...
Bonjour Brucat,
Essaie cela :
Sub chgt()
Dim oTache As Task, i As Integer
For Each oTache In ActiveProject.Tasks
i = i + 1
If oTache.Summary And oTache.OutlineLevel = 1 Then
SelectRow row:=i, RowRelative:úlse
Font Color:=oTache.Number1
End If
Next oTache
End Sub
"brucat" <brucat@tiscali.fr> a écrit dans le message de
news:djh15b$f1d$1@news.tiscali.fr...
Bonjour,
J'aimerai via VBA que les taches de niveau 1 soit en couleur selon le
colorie indiqué dans le champ Number 1 mais pour tout mon projet.
Voici mon code comment l'adapter pour tout le projet.
Sub chgt()
Dim oTache As Task
For Each oTache In ActiveSelection.Tasks
If oTache.Summary And oTache.OutlineLevel = 1 Then
SelectRow
Font Color:=oTache.Number1
End If
"Gérard Ducouret" a écrit dans le message de news:
Bonjour Brucat, Essaie cela :
Sub chgt() Dim oTache As Task, i As Integer For Each oTache In ActiveProject.Tasks i = i + 1 If oTache.Summary And oTache.OutlineLevel = 1 Then SelectRow row:=i, RowRelative:úlse Font Color:=oTache.Number1 End If Next oTache End Sub
"brucat" a écrit dans le message de news:djh15b$f1d$
Bonjour,
J'aimerai via VBA que les taches de niveau 1 soit en couleur selon le colorie indiqué dans le champ Number 1 mais pour tout mon projet.
Voici mon code comment l'adapter pour tout le projet.
Sub chgt()
Dim oTache As Task
For Each oTache In ActiveSelection.Tasks
If oTache.Summary And oTache.OutlineLevel = 1 Then SelectRow Font Color:=oTache.Number1 End If