Réponse acceptée !
bonjour
comme matth72 est en VBA et non en .Net ce serait plutôt
Private Sub CommandButton1_Click()
If Application.Visible = True Then
Application.Visible = False
Else
Application.Visible = True
End If
End Sub
si c'est la solution, penser : REPONSE ACCEPTEE