Hi does any one know why this could does not work. I am not getting any errors, it does nothing when i run. I am trying to get the code to look in Col B for N/A, if found then let the user know why msgbox
Code:
Sub Test()
Dim LR1 As Long
LR1 = Range("C" & Rows.count).End(xlUp).Row
If LR1 < 5 Then LR1 = 5
If UCase$(Trim$(Sheets(1).Range("B" & LR1).Value)) = "N/A" Then
MsgBox "There is a new a/c"
End If
End Sub