VBA Msgbox
This is an example of the VBA Msgbox (message box):
*************************************************************************************
Public Sub NewMsgBox()
      Dim strMsg as String 'Allocate a portion of memory for a string
'(text - up to 255 characters) holding variable
      strMsg = "Press enter to continue"
      Msgbox strMsg
End Sub
*************************************************************************************
Now watch how it's done...
That's all, I hope it helped! If not, feel free to email me at erik [at] vbahowto [dot] com
|
Are you struggling to learn VBA?
If your answer to the above question is yes, then I strongly recommend that you check out these VBA Crash Course videos |

