cs_JMO
Messages postés
1854
Date d'inscription
jeudi 23 mai 2002
Statut
Membre
Dernière intervention
24 juin 2018
27
22 févr. 2007 à 09:55
Re,
Peux-tu tester ceci:
i = ""
For i=0 To UBound(Ligne)
If i=5 Then
Dim pourcent
pourcent = Trim(Replace(Ligne(i),"%",""))
If pourcent =< 10 Then ' 10 represente le seuil de criticité
Cellule NL,i+2,Space(2) & Replace(Ligne(i),"'","") & Space(2),True,False,10
Color NL,i+2,NL,i+2,xlMedium,Red
Else
Cellule NL,i+2,Space(2) & Replace(Ligne(i),"'","") & Space(2),True,False,10
Color NL,i+2,NL,i+2,xlMedium,Yellow
End If
Else
Cellule NL,i+2,Space(2) & Replace(Ligne(i),"'","") & Space(2),True,False,10
Color NL,i+2,NL,i+2,xlMedium,Yellow
End If
Next
NL = NL + 1
Si problème, précise-moi (clairement, si possible) l'anomalie.
<colgroup><col style=\"WIDTH: 76pt; mso-width-source: userset; mso-width-alt: 3693\" width=\"101\" /><col style=\"WIDTH: 101pt; mso-width-source: userset; mso-width-alt: 4900\" width=\"134\" /><col style=\"WIDTH: 106pt; mso-width-source: userset; mso-width-alt: 5156\" width=\"141\" /><col style=\"WIDTH: 99pt; mso-width-source: userset; mso-width-alt: 4827\" width=\"132\" /><col style=\"WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2706\" width=\"74\" /></colgroup>----
Disque local , Taille Totale (Go) , Espace utilisé (Go) , Espace libre (Go) , % libre , ----
C: , 19,53 , 5,50 , 14,03 , 72%, ----
D:
, 54,99
, 4,00
, 50,99
, 93%
jean-marc