Hello All
I am having some problems with a find method I am using in excel VBA.
I have many lines in this file which begin with - “TEXT /OUTFIL” and the other text.
I need to find the “Part Name” from this string within this file
From this file I am using the following find method
TEXT/OUTFIL,'* Part Name : Front door inner LH *'
The following code is suppose to find the part Name from the above line of text. But I am getting an error string isn’t found.
Can anyone help?
Thanks
Mo
I am having some problems with a find method I am using in excel VBA.
I have many lines in this file which begin with - “TEXT /OUTFIL” and the other text.
I need to find the “Part Name” from this string within this file
From this file I am using the following find method
TEXT/OUTFIL,'* Part Name : Front door inner LH *'
The following code is suppose to find the part Name from the above line of text. But I am getting an error string isn’t found.
Code:
Set FoundCell = LastCell.Find(What:=strFindItem, After:=ActiveCell, _
LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, _
MatchCase:=False)
Can anyone help?
Thanks
Mo