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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Customizing Message boxes 1

Status
Not open for further replies.

hwmueller

Technical User
Jan 16, 2001
155
Hi

How do I add my own buttons to a message box, for example instead of yes and no, OK and Change?

Thanks

Hans
 
There are several flavors of message box such as vbCritical, vbExclamation and vbOkCancel. I don't believe there is a way to name the buttons explicitly though. As a work-around you could create a pop-up form and populate it with controls as you see fit though.
 
Go to this site and they have a free message box builder progamm. it produces all the text need for your program. Including declaration of variables if need for yes no situations. You cut and past the code into your program and insert your code inside the yes part of the if statement for yes or no. It's very easy to use and its free.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top