Private Sub UserForm_Activate()
Dim ctrl As MSForms.CommandButton
' Affichage de la date et de l'heure
Caption = Space(4) & Application.Proper(Format(Now, "dddd dd mmm yyyy")) & " - " & " Il est " & Format(Now, "hh:mm")
nummois = Month(Now)
Set ctrl = Me.Controls("CommandButton" & nummois)
ctrl.BackColor = RGB(0, 255, 0)
Me.Controls("Textbox" & NumMois).BackColor = RGB(0, 255, 0)
End Sub