I am a novice when it comes to building VBA code. I want to automatically copy cell colours from one worksheet to another.
I have provided some images below to help explain what I am hoping to achieve:
Looking at Worksheet 1 - Mar 18, I want to copy the cell colours from row 3 (B3 to X3) to Worksheet 7 - site 1 Column B (B3 to B23). I also have additional worksheets, Apr 18 to Dec 18 and Site 2 to Site 6 where I would like to perform similar actions.
The end result will roll up the information from the month worksheets into the site worksheets.
Here's a simple routine that demonstrates how cells on one sheet can be colored based on the color of cells in a second sheet. After you thoroughly understand how this code works, you should be able to modify it to apply to your situation. Let me know if you have questions.
You can try this
And extend to your needs
Try this code: