En fait, je suis allé un peu vite en besogne.
Lorsque j'utilise ma macro pour ajouter des checkbox à chaque ligne, cela ne marche plus!
Auriez-vous une explication?
Je précise que la macro que j'utilise pour ajouter les checkbox est la suivante:
Sub CreerCase()
Dim Cellule As Range
Dim x As Long
x = WorksheetFunction.Max(Range("A" & Rows.Count).End(xlUp).Row, Range("B" & Rows.Count).End(xlUp).Row, _
Range("C" & Rows.Count).End(xlUp).Row, Range("D" & Rows.Count).End(xlUp).Row, Range("E" & Rows.Count).End(xlUp).Row, _
Range("F" & Rows.Count).End(xlUp).Row, Range("G" & Rows.Count).End(xlUp).Row, Range("H" & Rows.Count).End(xlUp).Row, _
Range("I" & Rows.Count).End(xlUp).Row, Range("J" & Rows.Count).End(xlUp).Row, Range("K" & Rows.Count).End(xlUp).Row, _
Range("L" & Rows.Count).End(xlUp).Row, Range("M" & Rows.Count).End(xlUp).Row, Range("N" & Rows.Count).End(xlUp).Row, _
Range("O" & Rows.Count).End(xlUp).Row, Range("P" & Rows.Count).End(xlUp).Row, Range("Q" & Rows.Count).End(xlUp).Row, _
Range("R" & Rows.Count).End(xlUp).Row, Range("S" & Rows.Count).End(xlUp).Row)
For Each Cellule In Range("S2:S" & x)
With Cellule
.Select
ActiveSheet.CheckBoxes.Add(.Left, .Top, .Width, .Height).Select
End With
Next Cellule
End Sub
Là votre code ne marche plus Banzai64.
Comment cela se fait-il?
Merci d'avance à vous.