K khodor Member Local time Today, 02:20 Joined Feb 2, 2021 Messages 39 Apr 15, 2021 #1 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 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?
mike60smart Registered User. Local time Today, 00:20 Joined Aug 6, 2017 Messages 2,184 Apr 15, 2021 #2 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
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
bob fitz AWF VIP Local time Today, 00:20 Joined May 23, 2011 Messages 4,807 Apr 15, 2021 #3 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
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
K khodor Member Local time Today, 02:20 Joined Feb 2, 2021 Messages 39 Apr 15, 2021 #4 Thanks a lot this is what I was searching for
bob fitz AWF VIP Local time Today, 00:20 Joined May 23, 2011 Messages 4,807 Apr 15, 2021 #5 khodor said: Thanks a lot this is what I was searching for Click to expand... You're welcome. Glad we could help
khodor said: Thanks a lot this is what I was searching for Click to expand... You're welcome. Glad we could help