vbYesNoCancel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
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)
 
Back
Top