B
Bob Quintal
=?Utf-8?B?VG9tIFZlbnRvdXJpcw==?=
being 1.So
If weekday(date()) = 2 Then
' Ask about running reports
End if.
should be all you need.
The weekday() function returns a number from 1 to 7, with sundayI have an event in the OnOpen event of my spalsh screen which
offers the user a Yes/No option in a message box. User answers
YES, the weekly reports are printed. If user ansers No,
nothing happens. This is working well and running everyday
when the application is opened at start of day.
I am looking for help to set this so that the message box
comes up on Mondays only. I imagine it will be an argument or
evaluation I place at the start of my code which runs the
message box.
Any help?
being 1.So
If weekday(date()) = 2 Then
' Ask about running reports
End if.
should be all you need.