R Rpm1957 Registered User. Local time Today, 01:37 Joined Feb 3, 2012 Messages 19 Dec 20, 2013 #1 I have a checkbox on a form which when checked runs a macro, however it also runs the macro when I uncheck it. How can I have it so that the macro only runs when checkbox is checked?
I have a checkbox on a form which when checked runs a macro, however it also runs the macro when I uncheck it. How can I have it so that the macro only runs when checkbox is checked?
pr2-eugin Super Moderator Local time Today, 02:37 Joined Nov 30, 2011 Messages 8,494 Dec 20, 2013 #2 Use an If condition to check if the value is True or False. If True run the code else don't do anything.
Use an If condition to check if the value is True or False. If True run the code else don't do anything.