![]() |
#1
|
|||
|
|||
![]()
Hi
By using the code generated in a Macro, I've created this function but instead of just applying the formatting to the duplicate cells in a column, I'd like all 20 columns of the table range that corresponds to a duplicate cell to be formatted. The table is ALWAYS 20 columns wide if that helps. This is the code I'm using... Columns("B:B").Select Selection.FormatConditions.AddUniqueValues Selection.FormatConditions(Selection.FormatConditi ons.Count).SetFirstPriority Selection.FormatConditions(1).DupeUnique = xlDuplicate With Selection.FormatConditions(1).Interior .PatternColorIndex = xlAutomatic .ThemeColor = xlThemeColorAccent2 .TintAndShade = 0.599963377788629 End With Selection.FormatConditions(1).StopIfTrue = False Thank you in advance |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Keokira | Word | 1 | 04-07-2016 08:22 AM |
Conditional Formatting: How to dynamically apply to an expanding table? | tinfanide | Excel | 0 | 10-18-2013 06:34 AM |
Conditional Formatting Duplicates | Joanne | Excel | 6 | 08-05-2013 02:46 AM |
Using Conditional Formatting to identify duplicates | namedujour | Excel | 3 | 05-24-2012 05:55 PM |