How to check the condition in Msgbox?

Submitted by: Administrator
If(Msgbox("Do you want to delete this Record",VbYesNo)=VbYes)Then End if
Submitted by: Administrator

Read Online Visual Basic (VB) Job Interview Questions And Answers