Use the MsgBox function. You can get details in VBA Help. Here is a basic
example:
If MsgBox("Do You Want to Delete The Record"), vbQuestion + vbYesNo) = vbYes
Then
'Do the delete
Else
'Dont do it
End If
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.