kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
I have this code I want it to do a job for me but it's not finishing it properly.
The aim is to make the font colors of the row from col B to Col D same as the the font color in E. Meanwhile col C is excluded.
I am using a conditional formatting for col E.
I am in for a better way to get this done.
Thanks
Code:
Dim eCell As Range
For Each eCell In [E5:E18]
eCell.Offset(eCell.Row-5, -1).Font.Color = eCell.Font.Color
eCell.Offset(eCell.Row-5, -3).Font.Color = eCell.Font.Color
Next eCell
The aim is to make the font colors of the row from col B to Col D same as the the font color in E. Meanwhile col C is excluded.
I am using a conditional formatting for col E.
I am in for a better way to get this done.
Thanks