+ Reply to Thread
Results 1 to 9 of 9

Covert Checkboxes To TRUE/FALSE

  1. #1
    Registered User
    Join Date
    07-02-2014
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    33

    Covert Checkboxes To TRUE/FALSE

    Hello

    A workbook I have been given has checkboxes (thousands) down four columns and they do not appear to be linked to any cell but the are hovering over the cell the user intended to demonstrate a true/false. I want to pivot this data but the cells are truly blank underneath the checkboxes.

    Is there a vba way to mass assign the checkbox values to the cell it is covering? Please tell me there is! See the attached sample workbook. The names have been changed to protect the innocent.
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Covert Checkboxes To TRUE/FALSE

    Hi IcyBricks

    Try this Code...change Range References as required...
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    07-02-2014
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    33

    Re: Covert Checkboxes To TRUE/FALSE

    Thanks John. This looks like good way to do it if I were starting from scratch on a workbook. But I'm hoping there's a way to convert the thousands of existing checkboxes that currently store meaningful values into cell values I can pivot against. Is that even possible?

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Covert Checkboxes To TRUE/FALSE

    Hi IcyBricks

    See if this does as you require
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-02-2014
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    33

    Re: Covert Checkboxes To TRUE/FALSE

    Brilliant! I had to change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    to account for the header row but other than that worked like a charm!

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Covert Checkboxes To TRUE/FALSE

    You're welcome...glad I could help. Thanks for the Rep.

  7. #7
    Registered User
    Join Date
    11-22-2019
    Location
    texas
    MS-Off Ver
    2013
    Posts
    9

    Re: Covert Checkboxes To TRUE/FALSE

    Related to this problem: I have multiple checkboxes within a cell. Is there any way to mass-convert checkboxes to True/False values?

  8. #8
    Registered User
    Join Date
    11-22-2019
    Location
    texas
    MS-Off Ver
    2013
    Posts
    9

    Re: Covert Checkboxes To TRUE/FALSE

    Thank you for sharing your response. It helps. Can we make the location dynamic so that the TRUE/FALSE would move to 1 next cell each time?

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Covert Checkboxes To TRUE/FALSE

    cigdem. Please take a moment to re-read theforum rules. (link at tht top of the page). Especially rule 4.

    4. Do not post a new help request in an existing thread.

    Then read the yellow banner near the top of the screen, start your own thread and attach a sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. How to make the Checkboxes write to records as 0 and 1 and not true false
    By rbpd5015 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2014, 10:35 AM
  2. What is best to use for helper cells 0 or 1, typed true or false or =true =false
    By Gingermuppet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2014, 10:41 PM
  3. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  4. Creating True or false checkboxes
    By L_ter in forum Access Tables & Databases
    Replies: 1
    Last Post: 03-19-2009, 12:04 AM
  5. Function to return True/False if all are validated as True by ISNU
    By Tetsuya Oguma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2006, 06:30 AM

Tags for this Thread

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