+ Reply to Thread
Results 1 to 9 of 9

Uncheck a checked checkbox if condition met

  1. #1
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Uncheck a checked checkbox if condition met

    Hi All
    In this code, if the cell to the left of a checkbox is blank I would like to leave the Sub routine and set the checkbox status as "value = xlOff". This doesn't do it and I have tried several other ways
    Any ideas
    Please Login or Register  to view this content.
    Last edited by nigelog; 11-26-2020 at 12:18 PM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Uncheck a checked checkbox if condition met

    How about
    Please Login or Register  to view this content.

  3. #3
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Uncheck a checked checkbox if condition met

    Hi Fluff
    The format control was what I was looking for so no linked cell. I'm this far but would like if checkbox uncklicked it would remove date and signature as now it copies a second signature
    Please Login or Register  to view this content.
    See attached
    Attached Files Attached Files
    Last edited by nigelog; 11-26-2020 at 11:56 AM.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Uncheck a checked checkbox if condition met

    Can you supply a sample of your workbook?

  5. #5
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Uncheck a checked checkbox if condition met

    attached above Fluff

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Uncheck a checked checkbox if condition met

    Thanks for that, how about
    Please Login or Register  to view this content.

  7. #7
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Uncheck a checked checkbox if condition met

    Perfect job, many thanks Fluff. Difficult to reference the shape on its own

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Uncheck a checked checkbox if condition met

    You're welcome & thanks for the feedback.

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: Uncheck a checked checkbox if condition met

    Thought of another way, without the loop
    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 checkboxes which are checked on
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-08-2019, 09:54 AM
  2. [SOLVED] how to use if condition to check whether checkbox is checked
    By Bronx in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-12-2016, 02:47 AM
  3. Checkbox won't uncheck
    By eureka18 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-05-2013, 10:55 AM
  4. [SOLVED] When checkbox is checked it does not copy to new sheet. Only if not checked using false
    By thelisa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2013, 07:59 AM
  5. [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
  6. [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
  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

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