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
|