Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i make msg boxes that have buttons other than the standard

Status
Not open for further replies.

adi316

Programmer
Sep 10, 2002
35
0
0
CA
how can i make the msg box say yes/cancel as opposed to yes/no (vbYesNo) to be more specific. TIA
 
There are a number of built in buttons such as vbCritical or vbOKOnly - if you use the intellisense you should be able to see the options available to you.
 
As TomKane said, there are a number of options available to you. Failing that, however, just make your own messagebox as a form and then show that form and return the right value as needed. Then it will say whatever you want.
 
thanks
i was hoping there was a way to have the buttons say whatever i want using th standard msg box but ig uess ill have to build my own
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top