Bonjour à tous.
Mon problème :
J'ai 3 variables :
Cpt1=0
Cpt2=0
Cpt3=0
Je fais ma boucle pour que ces variables s'enrichissent suivant un certain critère :
For i = 1 to 3
If ActiveCell.value= i then
Cpt & i = (Cpt & i) + 1
end if
NEXT
Mon problème : Excel refuse "Cpt & i = (Cpt & i) + 1"
Quelle syntaxe employer SVP?
Merci
Mon problème :
J'ai 3 variables :
Cpt1=0
Cpt2=0
Cpt3=0
Je fais ma boucle pour que ces variables s'enrichissent suivant un certain critère :
For i = 1 to 3
If ActiveCell.value= i then
Cpt & i = (Cpt & i) + 1
end if
NEXT
Mon problème : Excel refuse "Cpt & i = (Cpt & i) + 1"
Quelle syntaxe employer SVP?
Merci