How To Make A VBA Message Box

This is a fairly basic tool to use to see if something works or to alert the person using your application.

Here is a VBA message box example:

Msgbox [Message],[Type of Box],[Application Title]


Here is the basic usage:

msgbox "Your operation was successful!"


Then you can fancy it up a bit:

msgbox "Your operation was successful", vbInformation, "Result"


Here’s a video I made regarding it:

Let me know if you need more information.

Hope this helps.


PS:  Since VBA is not case sensitive, it doesn’t matter if I spell “Msgbox” or “msgbox”

Offsite Related Information:

“Go Fund Me” Page

($5 suggested amount)

(…10% of your gift amount will go to charity)

Free! Subscribe To Our YouTube Channel!

Free MS Access VBA Programming Course

Facebooktwitterredditpinterestlinkedinmailby feather
Tags: ,