Tuesday, December 3

Alert User With Message Box In Excel With VBA

INTRODUCTION: Message Box Is A Part Of Excel Application.

  1. Open Excel File
  2. Click Alt + F11 Or Click On Developer Tab And Go Visual Basic Application.
  3. One Dialog Screen Will Get Open
  4. Click Insert And Add Module
  5. Create Sub Procedure With Any Name
  6. Make Sure The Procedure Name Start With String And Without Space.
  7. Write The Code In Between Sub And Sub End
  8. Click Run Button Or Insert A Form Button In Excel Sheet
  9. Any Sub Procedure / Macro Can Be Assign To A Button Like This Example To Fire The Event On Clicking The Button.
  10. There Are Many Method To Alert The User For Different Events. For Example Caution – Information – Restriction Etc.. Mostly I Has Been Explained In Video. Example Msgbox (“This Is My First Message”)
  11. That’s It 🙂
  12. Please Check The Images And Video For More Info.

Leave a Reply

Your email address will not be published. Required fields are marked *