Quote:

If COM is allowed, then if the file is 100K (assuming ANSI 1 byte/char.) then there are ~100,000 characters in the file. If you just want the last 10K of the file or so, you can use the TextStream object from the scripting library. It contains a 'Skip' method which takes a number of characters to skip (90,000 in this example). Then just call ReadAll and you'll get the rest of the text from the file.




you mean like this UDF?

Tail()


Edited by Bryce (2005-09-05 09:02 PM)