+ Reply to Thread
Results 1 to 2 of 2

Change the color of a check box

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-15-2008
    Location
    Texas, USA
    MS-Off Ver
    M365 Excel Version 2210
    Posts
    216

    Change the color of a check box

    Can you change the color of a check box if it's checked? I can change the color of the cell that the check box is in but I'd like to change the actual fill color IN the check box. Is this possible? If so, how do I do that?

    Thanks,
    RR

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Change the color of a check box

    assign a small macro to the checkbox.

    Sub CHECKSTATE()
    With Sheet1.CheckBoxes("Check Box 1")
    If .Value = 1 Then
        .Interior.ColorIndex = 4
            Else
        .Interior.ColorIndex = 6
    End If
    End With
    End Sub
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

+ 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. Change check box fill color to unfill and clear check mark
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2020, 03:20 PM
  2. Change tab color with check boxes?
    By bosswick in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-04-2019, 09:53 PM
  3. Check boxes that delete other check boxes and change the color of another cell.
    By nhamhamilton in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-29-2014, 02:40 PM
  4. [SOLVED] Check dates in column and change cell color
    By Nu2Java in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2013, 06:24 PM
  5. [SOLVED] Check box to change background color when checked
    By mrjinx007 in forum Excel General
    Replies: 10
    Last Post: 11-02-2012, 07:27 PM
  6. change shape color with a check box.
    By Quamdar in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2009, 06:16 AM
  7. Check Color Change Macro
    By scdve in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2008, 03:08 PM

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