String Sentence: "may have linked documents from another"
Word Dictionary: linked, may, from
Pseudocode:
If StringSentence containsAny(wordDictionary) Then
MsgBox "contains a word"
Else
MsgBox "doesn't containt any word from list"
End If
The comparison from word list to sentence should be case insensitive. I have tried creating an object with properties and using exists
but I get false positives. Perhaps because of the word casing.