Hi
Thanks for your replies.
I just put this into the code:
LastModified = file.DateLastModified
If instr(LastModified, "p.m.") <> 0 then
LastModified = left(LastModified, len(LastModified) - 4) & "pm"
elseif instr(LastModified, "a.m.") <> 0 then
LastModified = left(LastModified...
Hi
I am trying to write a program to get a list of log files and sort by the .DateLastModified then open the most recent and search for text, then the next oldest file, etc.
I thought it would be easiest to insert into a MS SQL table and then query the table and ORDER BY Modified DESC.
I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.