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
 
Top