Trying to change the color of a row based on a check box

Anonymous
2023-09-27T19:32:38+00:00

Hi, I am new to excel and I'm trying to figure out how to get a row to change color based on if a check box is clicked or not. I've gotten the check box to the correct cell, and now I'm just trying to link it to the row. I want it to be red if the check box is unclicked and green if it is clicked. The document I'm working on will be an expanding list/table that will be added to overtime for the project. So far I'm working in cells C5 down to L23. I've looked online to try and figure out a solution to this and so far no luck. Any help would be greatly appreciated thank you.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

8 answers

Sort by: Most helpful
  1. Anonymous
    2023-09-28T18:55:56+00:00

    That worked Great!! Thank for your help!!

    Was this answer helpful?

    0 comments No comments
  2. HansV 462.7K Reputation points MVP Volunteer Moderator
    2023-09-28T15:14:13+00:00

    It's better if you do not have macros of the same name in Module1 and Module2.

    Delete the macro in Module2 or rename it.

    Then select CheckBoxClick in the dialog, do not use the name proposed by Excel.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-09-28T13:50:27+00:00

    It’s named book1.xlsm when I go into the VBA location, but when it’s saved it’s under OIL Log.

    Was this answer helpful?

    0 comments No comments