frenchteck
IS-IT--Management
I have a problem in my script, it 's stupid but I don't remember the command to compare 2 dates in Microsoft Excel.
(I make VBScript with NotePad)
How to have seconds passed between 2 moment ?
Here is an exemple of what i'm looking for, can someone help a newbee like me ?
Set ObjXL = WScript.CreateObject("Excel.Application"
ObjXL.Visible = True
ObjXL.Workbooks.Add
temps = now
For i = 1 to 10000
objXL.Cells(i,1) = i
Next
objXL.Cells(1,2) = (now - temps)
Thanks to help me
(I make VBScript with NotePad)
How to have seconds passed between 2 moment ?
Here is an exemple of what i'm looking for, can someone help a newbee like me ?
Set ObjXL = WScript.CreateObject("Excel.Application"
ObjXL.Visible = True
ObjXL.Workbooks.Add
temps = now
For i = 1 to 10000
objXL.Cells(i,1) = i
Next
objXL.Cells(1,2) = (now - temps)
Thanks to help me