Thread
:
FileSystemObject question
View Single Post
#
2
Posted to microsoft.public.excel.programming
Don Guillett[_4_]
external usenet poster
Posts: 2,337
FileSystemObject question
really a row delete question?
rows(1:5).delete
--
Don Guillett
SalesAid Software
Granite Shoals, TX
"Tod" wrote in message
...
This is kinda sorta the right NG for this question.
My code is appending to a text file each day, like this:
Set fso = CreateObject("Scripting.FileSystemObject")
Set txtStream = fso.OpenTextFile("C:\Path\Log.txt", 8)
txtStream.WriteLine (Now & ": File Updated")
txtStream.Close
The log file gets updated about five times each day, so
the file gets longer each time. I'd like to have code that
deletes x number of entries from the top of the list. How
do I do that?
tod
Reply With Quote
Don Guillett[_4_]
View Public Profile
Find all posts by Don Guillett[_4_]