The example worksheet shows the results of code run to identify numbers in column B which are triplicates (and above). The cell of these is then coloured CYAN (0, 255, 255).
What I want to do now is delete the entire row where only these triplicates (and above) have the same name in both column F and G.
There are other rows with same names in F and G, but if B is not CYAN, they stay.
The problem:
When I FILTER column B on the Cyan cell colour then run code to remove the “same names” in F and G, this code does not work because the list is filtered.
If I run the code on an unfiltered list, all “same names” in F and G get deleted, including the rows I want to keep.
What I need is code to EITHER:
Delete only the qualifying rows when the list is filtered, or, include the colour Cyan in a three criteria code on an unfiltered list e.g. B = Cyan (0, 255, 255), F = same name as G, and G = same name as F.
Note: The names for F and G are referenced from Sheet 2 but it is possible that this may not be needed if F = G and G= F. This is best left to you code masters as to which option is best.
Bookmarks