blackvan253
Technical User
- Sep 13, 2024
- 1
Hi, I'm only a beginner with VBS - basic MsgBox stuff and functions only. I have a question I hope you can help me with.
Using a VBScript, how can I trigger a MsgBox in Windows on alternate days?
Eg. open a MsgBox beginning on, say, Monday, then cycle through Wed, Fri, Sun, Tue, Thu, Sat, Mon repeat etc.
Or, put another way, start on DateX, then DateX + 2, DateX + 4, DateX + 6 etc.
I'd prefer the first way rather than rely on any specific start date.
I can do this with Excel VBA but I have the benefit of storing a value in a variable, updating that variable and then saving the Excel file. I don't know how to translate that procedure into a VBScript.
Thanks!
Using a VBScript, how can I trigger a MsgBox in Windows on alternate days?
Eg. open a MsgBox beginning on, say, Monday, then cycle through Wed, Fri, Sun, Tue, Thu, Sat, Mon repeat etc.
Or, put another way, start on DateX, then DateX + 2, DateX + 4, DateX + 6 etc.
I'd prefer the first way rather than rely on any specific start date.
I can do this with Excel VBA but I have the benefit of storing a value in a variable, updating that variable and then saving the Excel file. I don't know how to translate that procedure into a VBScript.
Thanks!