+ Reply to Thread
Results 1 to 6 of 6

CheckBox

  1. #1
    Registered User
    Join Date
    05-20-2009
    Location
    Atlanta, GA
    MS-Off Ver
    Office 365
    Posts
    60

    CheckBox

    I've just added the Forms and Control Toolbox toolbars in Excel, but I'm not sure which item I need to do what I want.

    I have what I'm calling an Action List, with different projects I need to work on and their due dates. I would like to add a completion check box or something similar so that when I click it for each row of the action list, it will format that row to have a black background or strikethrough font.

    Is something like this possible. I can't seem to figure it out on my own just by playing with it.

    Thanks in advance,

    -Keith

    EDIT: Dummy File Attached
    Attached Files Attached Files
    Last edited by keithfender; 01-22-2010 at 03:57 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Check Box Question

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    05-20-2009
    Location
    Atlanta, GA
    MS-Off Ver
    Office 365
    Posts
    60

    Re: Check Box

    OK, thanks for the tip, royUK. I have attached the dummy file. I guess I want the check box to do something like conditional formatting, and for each row.

    -Keith

  4. #4
    Registered User
    Join Date
    05-20-2009
    Location
    Atlanta, GA
    MS-Off Ver
    Office 365
    Posts
    60

    Re: Check Box

    My Action List is due on Wednesday. This would be an impressive feature to add. Thanks again for the help. Bump.

  5. #5
    Valued Forum Contributor
    Join Date
    08-23-2009
    Location
    Hampshire, UK
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    328

    Re: Check Box

    I've put 2 methods in your file. The first sheet CF is just using conditional formatting to strike through the text if you type "1" in the Check Box column. The second sheet VBA has proper check boxes and uses code to change the formatting if the boxes are checked.
    Attached Files Attached Files

  6. #6
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Check Box

    I would opt for using a Marlett check box instead of a checkbox control. It presents a more professional appearance ( IMO ) by removing the clutter of a lot of checkbox controls.

    Building on Huron's idea . . .
    The attached uses the below code in the worksheet_selectionchange event to place a checkmark into the cell when the cell is selected. Selecting a cell with the checkmark will remove it as well as the strikethrough formatting.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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