I'm comparing String with array of Strings and I got this error
Object reference not set to an instance of an object.
This is my code:
For Each Str As String In Word If Str.Contains(w1) = False Then MsgBox(w1 & _ Str.IndexOf(w1)) out += 1 End If Next
The error in this line:
If Str.Contains(w1) = False Then
Any one have an idea??
thanks in advance.