Hello,
I've written the following module and when i call it from a button i get a compile error, it expects an =, and i'm not sure why! Any ideas?
Public Function WhichWeek(WeekDate As Date, FirstDate As Date, LastDate As Date)
Dim db As Database
Dim rs As Recordset
Dim dteDate As Date
Dim...