Custom MsgBox Buttons

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

Guest

Is there anyway I can 'customise' the text that appears on a MsgBox. I want
to put my own text on 2 buttons 'Henlow' & 'Corsham' and then run particular
code depending upon which button is selected. I'm OK with putting the code
together, just don't understand how I can get the custom text and subsequent
value to then check against.

Many thanks
 
You cannot do that with a message box. Build a form that looks and behaves
like a message box if you want that capability.
 
Actually, you can. Check my May, 2005 "Access Answers" column in Pinnacle
Publication's "Smart Access" (You can download the column, and sample
database, for free from http://www.accessmvp.com/djsteele/SmartAccess.html)

Having said that, I don't disagree that creating your own form to mimic the
message box is a better solution.
 
Thanks for the info, Douglas. I can't immediately see which article applies,
but I will scan through it.
 

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