Results 1 to 5 of 5

Adding Checkboxes automatically value based on index match

Threaded View

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

    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


    For Each cell In rng2
        
        With ActiveSheet.CheckBoxes.Add(cell.Offset(0, 1).Left, _
         cell.Top, cell.Width = 30, cell.Height)
         .LinkedCell = cell.Offset(0, 1).Address(External:=T)
         .Interior.ColorIndex = 37
         .Caption = Range(.LinkedCell).Row
        End With
    
     
    
    Next cell
    End With
    I have been trying with a helper column linked to the checkbox but the macro just overwrites the helper column

     "= IF(ISERROR(MATCH("A2","H2:H100" ,0)),"FALSE","TRUE")"
    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.

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