Msgbox

MsgBox stands for Message Box.

A Message Box will display a message when activated.

This is easy but can be a bit tricky for beginners.

Add the following:

Command Button Name: Command1 Caption: Click Here

Insert the following into Command1:

MsgBox = "Hi", vbOKOnly, "See how it works!"

MsgBox lets VB know that it is a message box.

"H"i in the first quotes lets it know what to say.

The first coma separates the Caption from the button type.

I used vbOKOnly cause it is a simple one. A coma separtates another and the last quotes are the Messsage Box's Form's Caption.

It works simple by running and click on Click Here.

If you had any questions e-mail me at vbx23@aol.com.