Macron for a yes/no box (1 Viewer)

SamJas79

New member
Local time
Today, 07:26
Joined
Dec 2, 2019
Messages
1
Hi
I want a message box if a yes/no box is left empty.
I have the box set to yes as a default, but I can´t get the macron to give me the message box when I change it to No.
I have tryied everything:banghead:
 

isladogs

MVP / VIP
Local time
Today, 14:26
Joined
Jan 14, 2017
Messages
18,186
Welcome to AWF

Suggest you use a VBA event procedure

Code:
Private Sub Checkboxname_Click()
If me.checkboxname=False Then MsgBox "Your Message here"
End Sub

Change it to match your checkbox name and message
 

Ranman256

Well-known member
Local time
Today, 10:26
Joined
Apr 9, 2015
Messages
4,339
Yes/no cannot be empty. Not checked= no.
 

isladogs

MVP / VIP
Local time
Today, 14:26
Joined
Jan 14, 2017
Messages
18,186
However an unbound checkbox can also be null if triple state set to yes.
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 10:26
Joined
May 21, 2018
Messages
8,463
Is this what you meant?

 

Attachments

  • macronCheck.jpg
    macronCheck.jpg
    5.8 KB · Views: 180

Users who are viewing this thread

Top Bottom