VBA Move to first line of text file after EOF has been reached

I am opening a .txt file from Access VBA.  I need to read through each row and gather values (I can do this successfully). However, I then need to begin at the start of the file and read through it again.  I cannot determine how to make the procedure return to the beginning of the file.  I have attached my code below.  Thanks!
Public Sub ImportEDI(ctl As IRibbonControl)
'Get current user
gstrUser = WinUserName
Source_Path = "M:\m2mdata\data01\EDI\Acclimate\142 Documents"
Destn_Path = "M:\m2mdata\data01\EDI\Acclimate\142 Documents\Archive\"
Set fsoSysObj = New Scripting.FileSystemObject
Set fdrNew = fsoSysObj.GetFolder(Source_Path)
'Loop through Acclimate directory to process all pending files
For Each f In fdrNew.Files
SourceFile = Source_Path & "\" & f.Name
Open SourceFile For Input As #1 Len = 100
    'Determine Trading Partner Identification
    Do While Not EOF(1)
        Line Input #1, TextLine
        varFields = Split(TextLine, "~", -1, vbTextCompare)
        Select Case varFields(0)
            Case "ISA"
                strEDIID = Trim$(varFields(6))
            Case "GS"
                 strGroupID = Trim$(varFields(2))
        End Select
'This is where I need to move back to the first line of the input file
    'Call Procedure Based on ISA and Group ID
'DoCmd.Hourglass False
DoCmd.Echo True
End Sub

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mizveggieAuthor Commented:
that was perfect - wish i could have found it on my own!  thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.