+ Reply to Thread
Results 1 to 8 of 8

Help with checkboxes & data

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    Massachusetts
    MS-Off Ver
    Excel 2007
    Posts
    9

    Help with checkboxes & data

    Hello! I have a mailing list with checkboxes beside the names so that employees can check off who they want mailings sent to. There are over 300 names on the list. Is there a way to easily create a new list of only the names that are checked? I'm attaching the Excel file with names/addresses removed. Thank you!Mailing List for Excel Forum.xlsm

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Help with checkboxes & data

    Hi Jen,

    First step would be to link each one of these checkboxes to a cell which would return a TRUE or FALSE.

    For me, I would banish the check boxes and go with a double click method which would add a check to the cell using the Marlett font.

    Is this something you could work with?
    Attached Files Attached Files
    Last edited by jeffreybrown; 04-27-2012 at 10:08 AM. Reason: Added example
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    03-09-2012
    Location
    Massachusetts
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Help with checkboxes & data

    Thank you for responding to my post! My boss likes the checkboxes, so I have to stick with those. I'm not very experienced with Excel -- could you give me more info on how to link each checkbox with a cell to return TRUE or FALSE? Can those cells that the checkboxes are linked to be in a different worksheet? Thanks again!

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Help with checkboxes & data

    Bosses...don't you love them.

    The only further comment I will make about the double click simulated checkbox method (lower case "a" formatted with Marlett font) over the checkbox, as soon as you start moving stuff around on the worksheet or add/delete rows, everything will go wonky. Not to mention you are going to have to format all 300 checkboxes one by one. I suppose this could be done with VBA, but I have never undertaken this nor do I really want to when I can go with the double click method.

    Anyway, here are the steps.
    Right click on the check box
    Format Control
    Contol Tab
    Cell Link: >> add a cell reference

    Now that cell you referenced will toggle between TRUE and FALSE as you toggle the checkbox.

    As far as the reference on another sheet, looks like this can be done.

    Did you see the sample attachment?

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Help with checkboxes & data

    I would suggest that you link to Column A (same row) and then hide column A (insert an additional column if it's not esthetically pleasing). Also, if you plan on protecting the sheet, the cells in column A will need to be unlocked. Once that is done, you will be able to use the values in column A to move (or not move) email addresses to a new sheet.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    03-09-2012
    Location
    Massachusetts
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Help with checkboxes & data

    Thanks again to you both. I did see the sample attachment. I feel a little stupid; I still don't really understand how this is going to come up with a list of addresses depending on which boxes are checked, but I will work on it and hopefully figure it out. Excel is my weak point! It makes no sense to me.

  7. #7
    Registered User
    Join Date
    03-09-2012
    Location
    Massachusetts
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Help with checkboxes & data

    OK -- I understand now... Just a little slow over here! Combining both of your advice, I have my answer! Thanks again!

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Help with checkboxes & data

    With the attached example, enable macros and in column A double click any cell between A2:A21.

    Once you double click a check will appear (or disappear if you double click again) and in P1 there is a formula to count how many cells in A2:A21 are checked.

    Then in E2:E21 the list will automattically be built based on the checks (another formula in these cells).

    A2:A21 is a named range >> Ckboxes

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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