gon_ak
Messages postés197Date d'inscriptionmardi 28 février 2006StatutMembreDernière intervention17 novembre 2006
-
10 nov. 2006 à 10:17
gon_ak
Messages postés197Date d'inscriptionmardi 28 février 2006StatutMembreDernière intervention17 novembre 2006
-
10 nov. 2006 à 11:43
Bonjour à tous,
Voilà j'ai un problème d'indice: "Erreur= Indice en dehors de la plage" et je ne comprend pas pourquoi? qqn pourrait-il m'éclairer SVP?
Merci d'avance
Voici mon code:
'Efface le tableau des pesées
Erase Product
'Redimentionne le tableau sur base du nombre de mois
ReDim Product(1 To 5)
For ii = 1 To MSFlex_Rows (MSFlex_Rows=16)
If chkKmShift.Value = 1 Then
Product(ii, 1) = Time // Il m'indique l'erreur à ce niveau
Product(ii, 2) = Format(KmLgth, "##,##0.00")
mscProdGraphic.ChartData = Product()
End If
If chkShiftKm.Value = 1 Then
Product(ii, 1) = Time
Product(ii, 3) = Format(ShiftNumFor_1000km, "##,##0.00")
mscProdGraphic.ChartData = Product()
End If
If chkKgShift.Value = 1 Then
Product(ii, 1) = Time
Product(ii, 4) = Format(KgWeight, "##,##0.00")
mscProdGraphic.ChartData = Product()
End If
If chkShiftKg.Value = 1 Then
Product(ii, 1) = Time
Product(ii, 5) = Format(ShiftNumFor_1000kg, "##,##0.00")
mscProdGraphic.ChartData = Product()
End If
Next ii