pasting font colour from conditional formatting to permanent in excel
Hi experts using excel 2010
I want to paste the conditional formatting colours from the CF rules to permanent colour in excel..how could I do this using vba or another method..
Data range is q11:AA200
Microsoft Excel
Last Comment
route217
8/22/2022 - Mon
Professor J
easy way is to Copy/paste to Word and back to Excel appears to convert any kind (font, border, pattern) of conditional format to regular explicit format.
Sub test() Dim r As Range, c As Range Set r = Range("A1:A10") For Each c In r c.Interior.Color = c.DisplayFormat.Interior.Color Next r.FormatConditions.DeleteEnd Sub
the solution i uploaded, takes care of all formatting from conditional formatting not just the color. i.e Font Style, Underline and Strikethrough Font Color etc.