I'm trying to make a script wait a certain amount of time before continuing. The reason is to wait for it to completely send the email with the excel files and then delete the folder containing the files.
Set WScript = CreateObject("WScript.Shell") Dim StartTime, EndTime As Double StartTime = Format$(Now() , "hh:mm:ss") MsgBox "StartTime: "& StartTime
EndTime = Format$(Now() , "hh:mm:ss") MsgBox "EndTime: "& EndTime WScript = Nothing
Ernesto Gurgel ...
Last seen: 1 year 6 months ago
Joined: 07/18/2020 - 07:15