Message Boxes

  • Thread starter Thread starter VoxBox-Richard
  • Start date Start date
V

VoxBox-Richard

Hello,

Another question please- is there a way to determine what type of message
box you want to call in VBA. So instead of calling the infomation style box
could I call a stop or warning message? And if I can what is the code I need.

Thank you.
R.
 
Hi,

Write this line in the VB editor and as soon as you enter the comma you'll
get a scroll window with all the different types you can use

msgbox("hello",

Mike
 
Look in VBA help for msgbox function to get a list of styles.

There is example code shown.


Gord Dibben MS Excel MVP
 

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