Bonjour apdf1,
Une proposition faites sous 2003 mais qui devrait convenir. A mettre dans le code du bouton.
VB:
Private Sub CommandButton1_Click()
If CommandButton1.Caption = "Aujourd'hui" Then
CommandButton1.Caption = "Demain"
' La macro Aujourd'hui
Else
CommandButton1.Caption = "Aujourd'hui"
' La macro Demain
End If
End Sub
Private Sub CommandButton1_Click()
If CommandButton1.Caption = "Demain" Then
CommandButton1.Caption = "Aujourd'hui"
Else
CommandButton1.Caption = "Demain"
End If
End Sub