msgbox button constants

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

Guest

hey there,
i'd appreciate some help.

I am trying to modify a message box prompt. I want to combine the vbYesNo
buttons and the vbexclamation icon. My code is as follows:
MsgBox("question to user.",vbYesNo and vbExclamation, "Title")
but when i use this, no exclamation icon shows and there are no yes/no
buttons.
Separately, they work fine, but added together i cannot get either one to
work. It just shows an "ok" button and no icon.

is there a way i can obtain both formats?
Thanks,
Justin
 

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