Ok, i've go this piece of code to get a certain line from a text file.
Dim LinesFromFile as new collection
Open FilePath For Input As #1
Do While Not EOF(1)
Line Input #1, MyString
LinesFromFile.add MyString
Loop
Close #1 ' Close file.
MsgBox "FirstLine=" & LinesFromFile(1)
How could I get the code to get all the lines from a text file apart from line 1 and 2?
Thanks,
Jonathon.
Dim LinesFromFile as new collection
Open FilePath For Input As #1
Do While Not EOF(1)
Line Input #1, MyString
LinesFromFile.add MyString
Loop
Close #1 ' Close file.
MsgBox "FirstLine=" & LinesFromFile(1)
How could I get the code to get all the lines from a text file apart from line 1 and 2?
Thanks,
Jonathon.