This code works great but could someone explain what the line 'Line Input#1,strTemp' means? or what it does exactly?
I understand the rest of the code but not that line.
Thanks

Dim strTemp As String
Open "C:\txt.txt" For Input As #1
Do Until EOF(1) = True
Line Input #1, strTemp '---------this line here!!!
If Text1.Text = "" Then
Text1.Text = strTemp
Else
Text1.Text = Text1.Text & vbCrLf & strTemp
End If
Loop
Close #1