Is it possible to create 3 custom caption buttons for a message box?
I know I could do this as a form, but would like to know if it can be done in vba using msgbox...
Is it possible to create 3 custom caption buttons for a message box?
I know I could do this as a form, but would like to know if it can be done in vba using msgbox...
The MsgBox command has two forms. One is just a simple popup with only one button - Okay. The other is a function that can have several buttons. The distinction is made by use of parens.
MsgBox "Your document was printed."
If MsgBox("Do you want to print?", vbYesNo) = vbYes Then
DoCmd.Print
End If
Access VBA Help has more info on MsgBox as well as InputBox.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
What I had in mind is my own box of options but without the need of a form - I have ended up using something else so this one is sorted. Cheers June - thanks