+ Reply to Thread
Results 1 to 3 of 3

Turning an excel cell into a check box - but selected cell range only not the whole sheet

  1. #1
    Registered User
    Join Date
    03-23-2016
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    10

    Question Turning an excel cell into a check box - but selected cell range only not the whole sheet

    I really like the answer to the first part of my title found in this thread Turning an excel cell into a check box

    The code they gave to do that task is as follows:

    Please Login or Register  to view this content.
    But can anyone tell me, how would I modify the above code to target only specific cells that are double clicked and not the entire sheet? For example just a range say A:1 through C:20 or multiple ranges on the sheet A:1 through C:20 and A:26 through C:46 or similar.

    Also

    How about the ability to remove the check mark if the cell is double clicked again?
    Last edited by MilsonHQ; 03-24-2016 at 10:59 AM.

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

    Re: Turning an excel cell into a check box - but selected cell range only not the whole sh

    In this example, there are two ranges A1:B20 and D1:D20
    I have added the option to clearcontents if it already contains a checkmark.
    Please Login or Register  to view this content.
    Does that work for you?
    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

  3. #3
    Registered User
    Join Date
    03-23-2016
    Location
    Michigan, USA
    MS-Off Ver
    2016
    Posts
    10

    Re: Turning an excel cell into a check box - but selected cell range only not the whole sh

    Thank you very much for such a fast helpful reply, this works perfectly!

+ 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. Turning a cell into a check box
    By mets3145 in forum Excel General
    Replies: 8
    Last Post: 03-24-2016, 06:32 AM
  2. [SOLVED] Check same cell on range of worksheets and if not blank, copy into a list on another sheet
    By eddiecruz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-14-2015, 05:14 PM
  3. Check cell value in range, depending on condition copy to another Sheet
    By KemalO in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2015, 11:01 AM
  4. Check cell Value in range and copy specific cells to another sheet
    By jmethejedi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-08-2013, 06:25 PM
  5. [SOLVED] copy-paste-selected-cell-range-another-sheet
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 04-26-2013, 06:12 AM
  6. Highlight blank cell in a selected range of a sheet
    By ROHAN999 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-20-2013, 08:50 AM
  7. when typing to a cell check if this number exist in a range of cells (in sheet 2)
    By gtserkou in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-28-2008, 01:18 PM

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