Hi,
I would like to know if a String belongs to another string.
for example :
Dim KeyString as String
Dim Sentence as String
Dim Result as Interger
Result = worksheetFunction.Find(KeyString,Sentence)
if (Result<>"") then
Msgbox "KeyString exists within Senetence"
EndIf
but it doesn't work.
i just want to check if my KeyString belongs to Sentence, that's all.
basically i store into Sentence the value of a cell.
thx
Maileen
Bookmarks