write the difference between MsgBox() and error provider
Answers
The message box which is denoted as the msgBox() has the records of all the recorded message in the system.
It has made easier for keeping records in case of accounts.
An error provider generally deals with errors certainly if there is a wrong update made.
So these are the basic difference between a message box and error provider.
MsgBox() is the command in VBA which displays a dialogue box. The message is displayed in this box. What ever we want to show we can show in this dialogue box. But usually we have to call this msg box by adding some button or some other functionality. For example when we lose a game the message displays "game over" it is shown in msg box.
While error provider provides the errors happened in the program that we are writing. It is generated by the system when an error happens but msg box is displayed bu the user it self