vba string not equal to another string code example Example: compare strings in vba StrComp ( string1, string2 [, compare ] )