my task is to get specific words for the sentence, if they existed like tay, lay function tay or lay.
Function FindText(txt) As String
>>
>> If (InStr(txt, "tay") > 0) Then
>> FindText = "tay"
>> ElseIf (InStr(txt, "lay") > 0) Then
>> FindText = "lay"
>> ElseIf (InStr(txt, "www") > 0) Then
>> FindText = "www"
>> Else
>> Â Â Â FindText = "Nothing"
>> End If
>>
>> End Function
________________________________
From: "1z@compuserve.com" <1z@compuserve.com>
To: ExcelVBA@yahoogroups.com
Sent: Tuesday, August 21, 2012 9:06 PM
Subject: Re: [ExcelVBA] Re: specfic character pick
Good question!!!
Lisa
Sent: Tue, Aug 21, 2012 5:15 pm
Subject: Re: [ExcelVBA] Re: specfic character pick
What is the end use of this code? What are you writing it for?
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.
----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA
----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com
----------------------------------
Tidak ada komentar:
Posting Komentar