Bonjour forum
Comme tous le monde t'as dit, revient a la ligne après le then, ou alors ne reviens pas et supprime le end if, cela marche tous aussi bien:
Solution 1:
F = Range("G5").Value
If F = 2 Then ft = "formatA4"
Solution 2:
F = Range("G5").Value
If F = 2 Then
ft = "formatA4"
End If
Voila, bonne journée
@Christophe@