I have inherited an Excel Workbook and have never seen it before. It is a work schedule and employee names are entered into cells that represent what days they will work. I found a VB app for this worksheet that defines a range of cells and then runs an "if" statement that compares the value (name) of the cell to constant values in the statement and assigns a background color to that cell. My first task after receiving this is to enter the next work period schedule. To do this I copied the current work schedule and pasted it in to the right of the current work schedule. The problem I have is that the cells are no longer colored after I paste it but the font color was not lost. I checked the VB app and determined that I am within the range defined.
I don't know VB so I am lost as to why I don't get color. Can anyone help me?
See the attachment for VB code example and worksheet example showing what was copied (colored) and what was pasted (black & white).schedule example.docx
Bookmarks