This one builds a string giving the numbers element position in the string.
Option Explicit
Public CapString As String
Public Sub FindNumber()
Dim hfile As Long
Dim buff As String
Dim buffarray() As String
Dim sPathname As String
Dim intMyNbr As Integer: intMyNbr = 8
Dim intLo As Integer
Dim intHi As Integer
Dim intKnt As Integer
sPathname = App.Path + "\filein.txt"
hfile = FreeFile
Open sPathname For Input As #hfile
buff = Input$(LOF(hfile), hfile)
Close
buffarray = Split(buff, ","

intLo = LBound(buffarray)
intHi = UBound(buffarray)
For intKnt = intLo To intHi
If intMyNbr = CInt(buffarray(intKnt)) Then
CapString = "The number is in the " _
& Str(intKnt + 1) _
& " Element of the String"
Exit For
End If
Next intKnt
End Sub
Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com