PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
Sub Colour_Specific_Rows() Dim rng As Range Dim Rw As Range Dim LastCol As Long Dim lastRow As Long Dim ans LastCol = Cells(1, Columns.count).End(xlToLeft).Column lastRow = Cells(Rows.count, 1).End(xlUp).Row Set rng = Range("A1", Cells(lastRow, LastCol)) For Each Rw In rng.Rows ans = Application.CountIf(Rw, "*_1.jpg*") If ans > 0 Then Rw.Interior.Color = RGB(242, 220, 219) End If Next Rw End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.