In that case it is not space.
If (UCase(Cells(ii, 3).Value) = Like "*PRE-START*") Or (Cells(ii, 3).Value = Empty) Then