Warning message before button click

iamdamien

Registered User.
Local time
Today, 15:41
Joined
Apr 18, 2011
Messages
25
before a user deletes a record I want to display a message to confirm whether they wish to proceed, once this is done the record is saved or updated. what is the best method for this?
 
google is your friend!

If vbYes = MsgBox("Are you sure you want to save?", vbQuestion Or vbYesNo, "Close?") Then
your save code here
End If
 
Thanks for the reply. I actually had done it already; just panicked in thinking that I hadn't! Just not on certain buttons! And google sometimes provides a poor answer that makes the situation worse! Thanks anyway.
 

Users who are viewing this thread

Back
Top Bottom