Date function . VBE
Hi all ,
I dont want to run this particular script, if the system date crossed 24/12/2012.
Any suggestions, what date function should i add in this script which will check the date = 24/12/2012 and will exit the script.
...................................................
Set wshShell = wscript.CreateObject("WScript.Shell")
msgbox("Hello")
....................................................
Please note this is a notepad made .vbe file script.
Thanks
Ruth
If Int(Now()) > 24 / 12 /
If Int(Now()) > 24 / 12 / 2012 Then Exit Sub
Need Exact syntax for WSH or .VBE
Hi,
Thank you,but the code/systax you provided, seems is for VBA or EXCEL as it is not perhaps working for .vbe(WSH) ?Can you change it to be compatible for .vbe extention.
Sorry for being DUMB but i m new to these syntaxes.
Regards
Ruth