Hi, I want to copy paste a cell conditional formatting to every other cell in a range of cells. I have attached before and after sample file and below is the vba code. Appreciate your support.
Please Login or Register to view this content.
Hi, I want to copy paste a cell conditional formatting to every other cell in a range of cells. I have attached before and after sample file and below is the vba code. Appreciate your support.
Please Login or Register to view this content.
Rather than applying CF to each cell individually, would you consider having two rules covering a bigger range? This is a much cleaner method than adding numerous rules with VBA.
To replicate your intended results, highlight cells E4:AB4 and add this new rule for red (Formula to determine format):
Formula:Please Login or Register to view this content.
and this for green
Formula:Please Login or Register to view this content.
<<< If you have valued anyone's contributions in this thread, please click * to thank them for their efforts
Worked for me! Thats a very neat solution. Did not thought its possible. Thanks for your support
You're welcome, glad to hear that works for you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks