+ Reply to Thread
Results 1 to 2 of 2

How to use a macro / VBA to uncheck a checkbox on a certain day of the month.

  1. #1
    Registered User
    Join Date
    02-20-2014
    Location
    Romania
    MS-Off Ver
    Office 2016
    Posts
    28

    Smile How to use a macro / VBA to uncheck a checkbox on a certain day of the month.

    I have a spreadsheet where I use a Checkbox that I click when a monthly payment is made, which triggers other formulas. I was wondering if there is a way I could get a macro to automatically uncheck the box on a certain day of the month (on the 20th of every month, for example) so that I don't have to remember every month to manually uncheck it.
    Thanks!

  2. #2
    Registered User
    Join Date
    02-26-2016
    Location
    Wisconsin, USA
    MS-Off Ver
    2013, 2016
    Posts
    33

    Re: How to use a macro / VBA to uncheck a checkbox on a certain day of the month.

    You can put this code in the ThisWorkbook code section of the file. Change the 'checkboxCaption' constant to be the text showing in the checkbox, and change the 'dateToClear' constant if you want a day other than the 20th.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. uncheck all checkbox by macro(sheet is protected)
    By nasim12w in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-29-2017, 03:51 PM
  2. Checkbox won't uncheck
    By eureka18 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-05-2013, 10:55 AM
  3. [SOLVED] Uncheck checkbox if condition is met
    By barqujo in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-08-2013, 12:11 PM
  4. Replies: 4
    Last Post: 03-01-2013, 07:37 PM
  5. [SOLVED] VBA code to uncheck checkbox 2 & 3 if checkbox 1 is checked
    By hydz1213 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-25-2013, 03:10 AM
  6. [SOLVED] CheckBox Uncheck
    By Anto_BT in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2012, 10:15 AM
  7. How to have Checkbox A uncheck with checked Checkbox B
    By Texas Aggie 09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2007, 09:29 AM
  8. Check and uncheck a checkbox
    By NoProgram in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2006, 05:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1