dave3009

Jasen

Mar 20th, 2020
538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Option Explicit
  2.  
  3. Sub MakeAMessagebox(msg As String)
  4.  
  5. '**********************************************************************************
  6. '                                                                                                     *
  7. '* msg = a string value which should be displayed in a message box    *
  8. '*                                                                                                    *
  9. '**********************************************************************************
  10.  
  11. MsgBox msg
  12.  
  13. End Sub
  14.  
  15.  
  16. Sub ShowTheMessage()
  17.  
  18. MakeAMessagebox "Some Random Text"
  19.  
  20. End Sub
Advertisement
Add Comment
Please, Sign In to add comment