08-25-2013, 06:01 AM
Sorry this should be very simple but somehow I am overlooking something.
I have a textfile containing 40.000 lines.
I want to get the text on linenumber 1100.
Is it possible to do it without the .getfile function or without putting the whole textfile into an array or Icsv object?
I have this code:
Macro Macro18
The problem is, that the SetPos function puts the position at character at character-number, but I want to put the position at line-number 1100 and then extract the line at that position.
Is it possible?
I am assuming that the code beneath accesses the text file 1100 times (line by line).
I want to avoid unnecessary reads.
Macro Macro18
I have a textfile containing 40.000 lines.
I want to get the text on linenumber 1100.
Is it possible to do it without the .getfile function or without putting the whole textfile into an array or Icsv object?
I have this code:
Macro Macro18
The problem is, that the SetPos function puts the position at character at character-number, but I want to put the position at line-number 1100 and then extract the line at that position.
Is it possible?
I am assuming that the code beneath accesses the text file 1100 times (line by line).
I want to avoid unnecessary reads.
Macro Macro18