Display a message box

E

eagle

I just want to display a simple message box, how do I do that? I tried
searching for Option Box, Message Box, everything I could think of and only
get something about dialog boxes, none of which have a message box.

Thanks for you rhelp.
 
J

Jonathan West

eagle said:
I just want to display a simple message box, how do I do that? I tried
searching for Option Box, Message Box, everything I could think of and only
get something about dialog boxes, none of which have a message box.

Thanks for you rhelp.

MsgBox "This is a test"

There are additional options you can use, which will enable you todisplay
different buttons on the message box. You can see these options by looking
at the Help entry for MsgBox.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
E

eagle

Thanks! That will do the trick.


Jonathan West said:
MsgBox "This is a test"

There are additional options you can use, which will enable you todisplay
different buttons on the message box. You can see these options by looking
at the Help entry for MsgBox.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

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

Top