C
Charlie
How would I modify this code to check first to see that there is indeed
Phrases(0), Phrases(1), and Phrases(2) so I won't get an error if strSentence
does not have 2 tabs in the sentence?
thanks,
ck
Phrases = Split(strSentence, vbTab)
str1 = Phrases(0) ' so you can see what they are
str2 = Phrases(1)
str3 = Phrases(2)
Phrases(0), Phrases(1), and Phrases(2) so I won't get an error if strSentence
does not have 2 tabs in the sentence?
thanks,
ck
Phrases = Split(strSentence, vbTab)
str1 = Phrases(0) ' so you can see what they are
str2 = Phrases(1)
str3 = Phrases(2)