Answers for "excel vba yes no box"

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

Code answers related to "VBA"

Browse Popular Code Answers by Language