Salut Ric, merci pour ta réponse
Ah mince, c'est embêtant parce que:
- J'ai une autre listbox monocolonne (cf. "2) Sélection du mois en cours") pour laquelle j'utilise exactement la même syntaxe (j'ai juste changé le 1 en 2 en gros) et ça fonctionne parfaitement.
- Le nom de l'userform et de la listbox sont bon
- Je lance cette instruction au même moment que la Userform1.ListBox1 (au moment d'UserForm_Initialize)
- La listbox a 12 lignes et 2 colonnes
J'ai fait ce code pour ça:
For i = 0 To UserForm1.ListBox1.ListCount - 1
If Month(Date) = Month("01 " & UserForm1.ListBox1.List(i) & " 2000") Then
UserForm1.ListBox1.ListIndex = i 'Listbox selection du mois
UserForm1.ListBox2.ListIndex = i 'Listbox Statistiques
UserForm1.ListBox2.Selected(i) = True 'Listbox Statistiques
End If
Next