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 

That’s all, I hope it helped!

Let me know if you have any questions

[simple_contact_form]