View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Simon Lloyd[_903_] Simon Lloyd[_903_] is offline
external usenet poster
 
Posts: 1
Default Custom msgbox help needed!!!


Hi not sure entirely what you want to do but this is how to make use of
Yes, No and Cancel from a message box:


Code:
--------------------
Sub Mbox()
Select Case MsgBox("What Now", vbYesNoCancel, "Decision Maker")
Case vbYes
MsgBox "Good"
Case vbNo
MsgBox "Bad"
Case vbCancel
MsgBox "Ugly"
End Select

End Sub
--------------------
Hope this helps,
Regards,
Simon


--
Simon Lloyd