VB Coding

R

rblivewire

What is the VB coding to put a warning on a button. E.g. Are you sure
you want to save? Yes or no
 
K

Klatuu

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
 
Top