vbYesNoCancel

W

winqan

I use a msgbox with vbYesNo to return 2 option (Yes/No), instead of
displaying "Yes", "No" I want it to "In" or "Out" buttons, how can i do it?
Thanks
Qan
 
R

Rick Brandt

winqan said:
I use a msgbox with vbYesNo to return 2 option (Yes/No), instead of
displaying "Yes", "No" I want it to "In" or "Out" buttons, how can i do it?

You would have to create your own form as a substitute. You cannot customize
the button Text on Message Boxes. Unless it is possible with some complex
Windows API calls, but it's not that difficult to make your own form.
 
D

david epsom dot com dot au

The VBA msgbox is a shell over the Windows API message box.
To customise it, you need to create a windows callback function
and apply a kind of transform.

(david)
 
Top