When You open your database, you can set default prcedure to find out which day is today:
1) in AutoExec macro
2) in load procedure for form
Private Sub Form1_Load()
Select Case DatePart("d", Date)
Case 5
MsgBox "Time to send report!", vbInformation, Date
Case Else
MsgBox "Have a nice day!", vbInformation, Date
End Select
End Sub
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.