Viewing 2 posts - 61 through 63 (of 63 total)
If you do need to run the script near midnight, you could use:
exitTime = DateAdd("s", 60, Now())
Do While Now() < exitTime
...
But: This script seems to peg the CPU usage at...
September 26, 2002 at 3:30 am
#437278
Using recursion is an un-necessary overhead. You could achieve the same result without putting this much strain on your stack by iterating through an array:
Function CreateFolder(Path As String) As Scripting.Folder
Dim...
July 30, 2001 at 4:39 am
#417317