bobkap
Active Member
- Joined
- Nov 22, 2009
- Messages
- 313
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
I used a macro I pulled from a MrExcel book to color cells red if a certain condition was met. That worked just fine. BUT, now I want to manually change the color of a few entries. I went to the paint bucket icon on the home ribbon and selected "no fill", but nothing happened.
This is a sample of the data I have. I had to use a picture as the actual copy/paste would not show the colors.
Here's the code used to do the coloring.
Isn't "interior.color" the same thing as what you get when you use fill colors?
This is a sample of the data I have. I had to use a picture as the actual copy/paste would not show the colors.
Here's the code used to do the coloring.
VBA Code:
'Highlight unique email addresses
With Range("C2:C566")
.FormatConditions.Delete
.FormatConditions.AddUniqueValues
.FormatConditions(1).DupeUnique = xlUnique
.FormatConditions(1).Interior.Color = RGB(255, 0, 0)
End With
Isn't "interior.color" the same thing as what you get when you use fill colors?