Tutorial point article is here: http://www.tutorialspoint.com/vba/vba...
The code is like this:
Function messagebox_demo()
msgbox ("Welcome")
a = msgbox("Do you like blue color?", 1, "Choose options")
msgbox ("The value of a is " & a)
End Function
There are two default msgboxes here, 1. msgbox("Welcome") and 2. msgbox("The value of a is " & a)