C'est normal, tu as 8 if et 3 end if, alors il se perd !
Prends l'habitude d'indenter ton code, tu verras où ils doivent être placés...
Ca peut donner un truc comme ça :
If B14="" then
B16=""
Else
If B9="diam interieur" then
If B14>B11 then
B15="REBUT"
Else
If B14<B10 Then
B15="A USINER"
Else
If B12<B14<B11
then B15="BONNE"
End if
End if
End if
Else
If B14<B11 then
B15="REBUT"
Else
If B14>B10 Then
B15="A USINER"
Else
If B12<B14<B11 then
B15="BONNE"
End if
End if
End if
End if
End if
--
A+ Blux
"Les cons, ça ose tout.
C'est même à ça qu'on les reconnait"