Hi,
What is the difference between Msgbox Statement and MsgboxQ function?
Hi,
What is the difference between Msgbox Statement and MsgboxQ function?
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
MsgBox is a built in VB function which displays a Message Box and MsgBoxQ is a function defined by the user.
Bookmarks