Answers for "yes or no msgbox vba"

VBA
1

vba yes no box

Dim answer As Integer
answer = MsgBox("Text", vbQuestion + vbYesNo + vbDefaultButton2, "Message Box Title")
If answer = vbYes Then
  MsgBox "Yes"
Else
  MsgBox "No"
End If
Posted by: Guest on June-21-2021
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

Code answers related to "VBA"

Browse Popular Code Answers by Language