SheriffWoody
New Member
- Joined
- Jul 7, 2015
- Messages
- 3
I am looking to write code that automatically changes the color of a tab based on the color of a specified cell.
The cell color is not static and is set based upon the number of the previous month.
I understand the below code won't execute but it explains what I'm looking to do as simply as possible:
ActiveWorkbook.Sheets(CStr(NewMonthWSname)).Tab.Color = Range("C4").Interior.Color
The cell color is not static and is set based upon the number of the previous month.
I understand the below code won't execute but it explains what I'm looking to do as simply as possible:
ActiveWorkbook.Sheets(CStr(NewMonthWSname)).Tab.Color = Range("C4").Interior.Color