Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Sub YesNOTest()
Dim answer As Integer
 
answer = MsgBox("Yes or No?", vbQuestion + vbYesNo + vbDefaultButton2, "Box Title")

If answer = vbYes Then
  MsgBox "Yes"
Else
  MsgBox "No"
End If
End Sub
  • No labels