Bonjour,
Lorsque je souhaite rechercher la valeur mini d'une variable tableau, j'ai la valeur 0 qui ressort.
Voici ma méthode :
Pourtant si j'affiche la valeur Max j'ai bien 7.45 qui ressort.Code:
1
2
3
4
5
6
7
8
9 Sub TestMin() Dim test(0 To 2) As Double test(0) = 7.45 test(1) = 2.79 test(2) = 4.5 With Application.WorksheetFunction Debug.Print "Min test: " & .Min(test) ' affiche 0 ? End With End Sub
Avez vous une idée?
Merci beaucoup