If I got your request then try the following instead of using Select Case
Sub Test()
Dim FinalRow As Integer, I As Long
FinalRow = Cells(Rows.Count, 4).End(xlUp).Row
For I = 48 To FinalRow
If Cells(I, 4) <> "" Then
If Cells(I, 4).Value = "Great-West Life PAY" Then
Cells(I, 8).Value = "GWL PAY"
Cells(I, 8).Interior.Color = 65535
ElseIf Cells(I, 4).Value = "MAIL DEPOSIT" Then
Cells(I, 8).Value = "RENT PAYMENTS"
Cells(I, 8).Interior.Color = 65535
ElseIf Cells(I, 4).Value = "EECOL ELECTRIC" Then
Cells(I, 8).Value = "RENT PAYMENTS"
Cells(I, 8).Interior.Color = 65535
ElseIf Cells(I, 4).Value = "AVIVA INS" Then
Cells(I, 8).Value = "Insurance Auto"
Cells(I, 8).Interior.Color = 65535
ElseIf Cells(I, 4).Value = "TD MORTGAGE" Or Cells(I, 5).Value = 653 Then
Cells(I, 8).Value = "mortgage Rockyford"
Cells(I, 8).Interior.Color = 65535
End If
End If
Next I
MsgBox ("newly added info has been automaticly updated and highlighted yellow")
End Sub
Bookmarks