Closed Thread
Results 1 to 9 of 9

Turning a cell into a check box

  1. #1
    Registered User
    Join Date
    02-27-2008
    Posts
    11

    Turning a cell into a check box

    Hi everyone, I was wondering if there was a way to turn a cell into a check box as opposed to putting a check box into the sheet by selecting one from the forms toolbar.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Yes, the Ö becomes a check if the font is symbol.

    Enter this code into your worksheet (right click on the tab and select "view code")
    Please Login or Register  to view this content.
    It will put a checkmark in whatever cell you doubleclick on (so be careful where you double click)

    ChemistB

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi ChemistB,

    You could use the
    Please Login or Register  to view this content.
    to stop it clicking into the cell. Also you can remove the unwanted lines

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Thanks VBA!
    I need to tidy up my macro skills.

    ChemistB

  5. #5
    Registered User
    Join Date
    02-27-2008
    Posts
    11
    Thanks for the help guys!

    I never knew you could code spreadsheets this way.

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

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

    Re: Turning a cell into a check box

    How would I modify this code to target only specific cells that are double clicked?

    How about to remove the check mark if double clicked again?

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Turning a cell into a check box

    MilsonHQ welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: Turning a cell into a check box

    Sorry abut that I have been used to submitting my questions directly to the original posters thread, did not realize it was done differently here, I was in a rush at the time of posting, I wil create my own thread, sorry for any rule violations.

    Thanks


    Quote Originally Posted by FDibbins View Post
    MilsonHQ welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

Closed 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