Hi,
I have the following code, and I am certain it could be incorporated into a select case structure but can't get it to work. Can anyone offer any suggestions?
I have the following code, and I am certain it could be incorporated into a select case structure but can't get it to work. Can anyone offer any suggestions?
Code:
If Range("Report_RevCli").Offset(StartCount) <> "Not found" Then
Range("Report_RevCli").Offset(StartCount).Font.Color = RGB(0, 0, 0)
Else
Range("Report_RevCli").Offset(StartCount).Font.Color = RGB(255, 0, 0)
End If
If Range("Report_BillTo").Offset(StartCount) <> "Not found" Then
Range("Report_BillTo").Offset(StartCount).Font.Color = RGB(0, 0, 0)
Else
Range("Report_BillTo").Offset(StartCount).Font.Color = RGB(255, 0, 0)
End If
If Range("Report_Customs").Offset(StartCount) <> "Not found" Then
Range("Report_Customs").Offset(StartCount).Font.Color = RGB(0, 0, 0)
Else
Range("Report_Customs").Offset(StartCount).Font.Color = RGB(255, 0, 0)
End If
If Range("Report_DLV").Offset(StartCount) <> "Not found" Then
Range("Report_DLV").Offset(StartCount).Font.Color = RGB(0, 0, 0)
Else
Range("Report_DLV").Offset(StartCount).Font.Color = RGB(255, 0, 0)
End If
If Range("Report_CustCat").Offset(StartCount) <> "Not found" Then
Range("Report_CustCat").Offset(StartCount).Font.Color = RGB(0, 0, 0)
Else
Range("Report_CustCat").Offset(StartCount).Font.Color = RGB(255, 0, 0)
End If