Sub Loop_Selection()
Dim sht, clr, crit, c
sht = Sheets("Design Sheet").Range("E6").Value
clr = Sheets("Design Sheet").Range("E7").Interior.ColorIndex
crit = Sheets("Design Sheet").Range("E5").Text
sheetcount = ThisWorkbook.Worksheets.Count
c = 0
For i = 1 To sheetcount
If Sheets(i).Name = sht Then
c = 1
End If
Next i
If c = 1 Then
MsgBox "Sheet is there"
Else
MsgBox "Sheet is not there"
End If
Dim cell As Range
Sheets(sht).Select
lc = Split(Range("IV3").End(xlToLeft).Address(), "$")(1)
lr = Range("B" & Rows.Count).End(xlUp).Row
Range("B3:" & lc & lr).Select
Dim rng As Range
Set rng = Application.Selection
For Each cell In rng
If cell.Value Like "*" + crit + "*" Then
cell.Interior.ColorIndex = clr
End If
Next
End Sub