Answers for "vba msgbox warning yes no"

VBA
1

msgbox yes no vba excel

If MsgBox("Texte", vbYesNo, "Titre") = vbYes Then 'If the button Yes is clicked ...
Posted by: Guest on October-24-2020
0

vba yes no box

Sub effacerB2()

    If MsgBox("Etes-vous certain de vouloir supprimer le contenu de B2 ?", vbYesNo, "Demande de confirmation") = vbYes Then
        Range("B2").ClearContents
        MsgBox "Le contenu de B2 a été effacé !"
    End If

End Sub
Posted by: Guest on March-24-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language