Please help me to understand how to Copy Colors from a specific cell but not conditional formatting.
For example
My Range A1 and A2 are merged cell with red color and with some value on it and I have to copy only that red color to Range B1 and B2 which have some different values. Is there any provision to satisfy it?
I tried
Range("A1:A2").Copy
Range("B1:B2").PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
but this will copy paste and merge the cell B1 and B2
.FormatConditions.Delete
on the target range once you copy? Not optimal, but it might be the easier way of implementing it to your code – dadlerRange("B1:B2")
, doRange("B1:B2").FormatConditions.Delete
, this should remove the conditional formatting of the range. Or do you wish to copy the cells and preserve the formatting applied by Conditional Formatting without it being conditional? – dadlerCells(1,1).DisplayFormat.Interior.Color
– dadler