Bonjour le forum
Comme dit dans le titre mais ça ne fonctionne pas... à moins que ça soit plus complexe.
Pourriez-vous SVP regarder le code
Option Explicit
Dim EnCours As Boolean
Private Sub ComboBox_Années_Change()
Application.EnableEvents = False
With Sheets("POSOLOGIE_COUMADINE")
.Range("H1") = Me.ComboBox_Années.Text
End With
Application.EnableEvents = True
If EnCours = True Then Exit Sub
Unload Usf_Annees
End Sub
Private Sub UserForm_Initialize()
EnCours = True
With Me
With .ComboBox_Années
.List = Array(2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030)
End With
End With
EnCours = False
End Sub
Merci pour vos éventuels retours
Cordialement