+ Reply to Thread
Results 1 to 5 of 5

Adding Checkboxes automatically value based on index match

  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

    Adding Checkboxes automatically value based on index match

    I use these checkboxes to allow user to remove unnecessary customers for reporting. To save time though if they already appear on a list then the checkbox should be automatically "checked"

    The macro creates a unique list from a large dataset and then adds a checkbox


    Please Login or Register  to view this content.
    I have been trying with a helper column linked to the checkbox but the macro just overwrites the helper column

    Please Login or Register  to view this content.
    I tried an If statement but couldn't phrase the required syntax. Any ideas appreciated
    Last edited by nigelog; 03-21-2018 at 01:29 PM.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Adding Checkboxes automatically value based on index match

    Just wondering why you are using checkboxes at all
    - you could use a column instead

    In attached workbook click in column B and a cross appears in the cell, if it already contains a cross then it disappears
    X = not on report
    blank = on report

    Is the complication of checkbox maintenance adding any value?
    Attached Files Attached Files
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  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: Adding Checkboxes automatically value based on index match

    Hi Kev
    that method would work but I want to use the checked items in the following way

    1. On first selection the list of customers to be removed from the dataset are first copied to another column "H"

    2. That list is used as the key to remove all instances of those customers from the original dataset

    3. That list is retained for the next report

    4. On subsequent population of the listing in column "A", all customers are matched to the list in column "H" and immediately marked for removal again

    5. The list is then manually checked and any additional customers to be removed are re-used to remove data from the original dataset

    6. The newly checked items items are added to the list in column "H" for subsequent re-use

    I had been thinking along the lines of using the "3 values" of the checkboxes to control these retentions/additions so that the whole list did not have to done manually each time

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Adding Checkboxes automatically value based on index match

    Best guess without a workbook
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  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: Adding Checkboxes automatically value based on index match

    Perfect Don, many thanks.

    Ill look now at if further checkboxes are "checked" that the customer is added to the list in H

+ 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. [SOLVED] Index Match Automatically
    By nathandavies9 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-22-2017, 12:25 PM
  2. Adding a dimension to index-match-match
    By puzzlelover22 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-01-2014, 01:33 PM
  3. Macro to automatically check or uncheck checkboxes based on a linked cell
    By lmshow in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 03:31 AM
  4. [SOLVED] Automatically Hiding rows based on checkboxes
    By Jake Bierly in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2012, 06:08 PM
  5. Can't automatically add checkboxes when adding rows
    By bcurry3 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-04-2011, 03:31 PM
  6. Adding a third match to an Index Match Formula
    By Weasel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2009, 01:51 PM
  7. Adding Checkboxes to Form based on how many names in column?
    By BigDubbe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-10-2008, 09:42 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