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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top