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

Customizing a MsgBox in VB

Status
Not open for further replies.

cratho

MIS
Mar 1, 2002
9
0
0
US
I need to create a message box in VB that uses options other than YesNoCancel. For instance, when a user clicks a button, a message box appears that prompts for one of two options, say "Add Item" or "Delete Item". Is there an easy way to change the text on the vbYesNo option? Thanks!!!
 
I find it easier to have another form (Make it look like the messagebox window) and then have your command buttons on there David Lerwill
"If at first you don't succeed go to the pub"
 
I find it easier to have another form (Make it look like the messagebox window) and then have your command buttons on there and call that from the VB code David Lerwill
"If at first you don't succeed go to the pub"
 
Why not create a popup form with these buttons on.
then instead of using the msgbox you call docmd.openform "Message" .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top