Bonjour,
Je ne parviens pas à réaliser une macro vba pour grouper toutes les lignes qui ne sont pas vide en colonne C
Veuillez trouver ci joint mon fichier excel (2 onglets : Tableau / Résultat Attendu)
Voici le fichier
J'avais débuté ce code mais il ne fonctionne pas bien
Sub GrouperParFamille()
For Each Cel In Range("A2:A" & Range("A" & Rows.Count).End(xlUp).Row)
R = Cel.Row
If Cel.Value = "" Then
derlig = Columns(3).Find("*", Cel, , xlByRows, xlNext).Row - 1
Range("A" & R & ":A" & derlig).Rows.Group
End If
Next Cel
End Sub
Merci beaucoup pour votre aide