Nuance is a bear.
My code needs to look through a string of numbers for a specified text,"(10)" and then extract number for a function to the next "(" usually 7 characters.
I can extract part of the string with Left, Mid, Right functions but I get all the other numbers again.
My code is all jumbled up now trying to solve this.
The cells searched will have the following type of data
The identifier (10) number is what I need to pull out as the code loops through a spreadsheet to find matches and place column information in the appropriate place.
Basically:
I know it is mucked up, please help!
DThib
My code needs to look through a string of numbers for a specified text,"(10)" and then extract number for a function to the next "(" usually 7 characters.
I can extract part of the string with Left, Mid, Right functions but I get all the other numbers again.
My code is all jumbled up now trying to solve this.
The cells searched will have the following type of data
Code:
[TABLE="width: 356"]
<tbody>[TR]
[TD="width: 356"](01)813502011371(10)1407038(21)190792(17)210228[/TD]
[/TR]
</tbody>[/TABLE]
Basically:
Code:
BatchP = InStr(1, Cells(I, 1), "(10)")
Sheets("Sheet2").Cells(J, 15) = Sheets("Sheet1").Left(Cells(I, 12), BatchP + 1)
I know it is mucked up, please help!
DThib