Happy New Year!
I am working on my yearly calendar which is on one sheet. I usually manually change the cell color to match the month and then bold Sundays (attached is my 2023 calendar) but I have been trying to get into Macros more.
Unfortunately, I cannot figure out VBA to change the cell's interior color based on the month and corresponding reference color. I don't even know where to start on how to code to bold Sundays. Can you please help?
I am working on my yearly calendar which is on one sheet. I usually manually change the cell color to match the month and then bold Sundays (attached is my 2023 calendar) but I have been trying to get into Macros more.
Unfortunately, I cannot figure out VBA to change the cell's interior color based on the month and corresponding reference color. I don't even know where to start on how to code to bold Sundays. Can you please help?
Cell Formulas | ||
---|---|---|
Range | Formula | |
A1 | A1 | =DATE($W$1,1,1) |
B1:T7,O8:T12,B8:F20,G13:T20 | B1 | =A1+1 |
A2:A20 | A2 | =T1+1 |
G8 | G8 | =A1 |
N8:N12 | N8 | =F8+1 |
A21 | A21 | =IF(IF(T20+1=$A$1+365," ",T20+1)=""," ",T20+1) |
B21 | B21 | =IF(IF(A21=" "," ",A21+1)=" ",A21+1," ") |
C21:T21 | C21 | =IF(B21=" "," ",B21+1) |