There is a differance.
Msgbox statement is only display the message.
Msgbox() function after displaying the message we pressing any button(yes no cncel) then it returns the value.
Example for MsgBox function
x Msgbox ( Do you ant to delete. VBYesNO)
if you press yes. The x value is 6
if you press No. The x value is 7