+ Reply to Thread
Results 1 to 4 of 4

Inserting Multiple Check boxes

  1. #1
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    Inserting Multiple Check boxes

    Is there a way to a mass insert of Check Boxes without the cell link all being the same cell?

    I have a huge list of items that I want to put a check box next to each one. This way when my warehouse people check it off in the sheet one of the columns will read "Available".

    Problem is when I put the first box in and cell link it to E4, and then copy and paste it, all the boxes toggle based on one another.

    Otherwise I have to put in 584 check boxes

    Solutions or other recommendations are gladly welcome.

    Also, is "True/False" the only available "response" when using Check boxes? (I Know I can write an equation based on the true false, but I am just curious)
    Last edited by dagindi; 03-05-2010 at 11:09 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Inserting Multiple Check boxes

    There's a great macro here for this:

    http://blog.livedoor.jp/andrewe/archives/17357484.html

    Just select a range of cells and run the macro, it inserts a checkbox in every cell and links the box to the cell underneath...it even adds a nice conditional formatting so that when you check the box the cell changes color.

    That should get you started.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Inserting Multiple Check boxes

    Rather than inserting and maintaining checkboxes, you could make cells act like checkboxes. As an example,putting this in the code module for a sheet, then B1:B10 will act like check boxes (contain TRUE or FALSE and clicking on the cell will change the value).

    Please Login or Register  to view this content.
    The hard-coded "B1:B10" can be altered to meet your situation.

    AND, True/False are the only possible return values from an ActiveX check box. (Forms text boxes have an underlying value of xlOn/xlOff that shows in the linked cell as TRUE/FALSE). Those are the only two options.
    Last edited by mikerickson; 02-22-2010 at 07:42 PM.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    Re: Inserting Multiple Check boxes

    JB,

    Thanks for pointing me to Andrew's great site. His code does exactly what I needed.. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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