StrComp() Returns the result of comparing two strings. : StrComp « String Functions « VBA / Excel / Access / Word






StrComp() Returns the result of comparing two strings.

 
Sub strDemo13()
   Debug.Print StrComp("B", "C", vbTextCompare)
End Sub

 

Related examples in the same category

1.Using the StrComp Function to Compare Apples to Apples