Ahhh. But you could use that shell to seach through each of the 3 columns. If
you find a match, you just bold the row.
Option Explicit
Sub testme01()
Dim myCols As Variant
Dim iCtr As Long
Dim WhatToFind As Variant
Dim c As Range
Dim FirstAddress As String
myCols = Array("a", "E", "J")
WhatToFind = Array("abcd", "efgh", "ijkl")
For iCtr = LBound(myCols) To UBound(myCols)
FirstAddress = ""
With Worksheets("sheet1").Range(myCols(iCtr) & "1").EntireColumn
Set c = .Cells.Find(what:=WhatToFind(iCtr), _
after:=.Cells(.Cells.Count), _
LookIn:=xlFormulas, _
lookat:=xlPart, _
searchdirection:=xlNext)
If Not c Is Nothing Then
FirstAddress = c.Address
Do
c.EntireRow.Font.Bold = True
Set c = .FindNext(c)
Loop While Not c Is Nothing _
And c.Address <> FirstAddress
End If
End With
Next iCtr
End Sub
Watch out for that .find command. I looked for it in any part of the cell
(xlpart vs xlwhole).
You could cycle through each of the rows and use instr() to look for a match,
but .find's can be a lot faster.