Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Dim Msg, Style, Title, Help, Ctxt, Response, MyString
  2. Msg = "Do you want to continue ?" ' Define message.
  3. Style = vbYesNo + vbCritical + vbDefaultButton2 ' Define buttons.
  4. Title = "MsgBox Demonstration" ' Define title.
  5. Help = "DEMO.HLP" ' Define Help file.
  6. Ctxt = 1000 ' Define topic context.
  7. ' Display message.
  8. Response = MsgBox(Msg, Style, Title, Help, Ctxt)
  9.  
  10. MsgBox("Do you want to continue?", vbYesNo + vbCritical + vbDefaultButton2,"MsgBox Demostration ")
  11.  
  12. MsgBox("Do you want to continue?",msgboxstyle.vbYesNo,"tittle")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement