Eljefegeneo
Still trying to learn
- Local time
- Yesterday, 17:22
- Joined
- Jan 10, 2011
- Messages
- 904
I wrote the following code for my Access 2010 program:and it worked like a charm.
And when I transferred it to Access 2019 I get the following pop-up message box:
"You called this sub"
Don't want this - what is going on and how do I get rid of it?
Code:
Dim DayVal As Long
DayVal = Weekday(Date, 1) 'Set first Day of Week, in this case Sunday.
If (DayVal = 6 And Hour(Now) > 15) Then
Call cmdZipAndEmail_Click
End
And when I transferred it to Access 2019 I get the following pop-up message box:
"You called this sub"
Don't want this - what is going on and how do I get rid of it?