Solved Confirmation message when Tick the Check box

khodor

Member
Local time
Today, 21:41
Joined
Feb 2, 2021
Messages
39
Hi Everybody
As you know, Ticking the Check box is too easy and it might be done by mistake
Can I add Confirmation message when Tick the Check box?
 
Hi

In the after Update of the Checkbox you need Code like this:-
Private Sub Action_Plan_AfterUpdate() If Me.Action_Plan = -1 Then MsgBox "Plan now Positive" End If End Sub
 
You could use the Before Update event of the checkbox. Something like:
Code:
    If MsgBox("Confirm Your Action", vbExclamation + vbOKCancel, "Confirmation Required") = vbCancel Then
        Cancel = True
    End If
 

Users who are viewing this thread

Back
Top Bottom