Hi,
I have a query that needs to return data from the beginning of the current week, to the end of the current week. I have written some VBA code to work out the relevant dates and attached it to some macros to do this. What I want to do is call the macros from within a query to fill in the relevant dates in the query. Can anyone tell me how to do this?
e.g. SELECT FROM Table WHERE Date Between BeginWeekMacro and EndWeekMacro
Thanks
Danny
I have a query that needs to return data from the beginning of the current week, to the end of the current week. I have written some VBA code to work out the relevant dates and attached it to some macros to do this. What I want to do is call the macros from within a query to fill in the relevant dates in the query. Can anyone tell me how to do this?
e.g. SELECT FROM Table WHERE Date Between BeginWeekMacro and EndWeekMacro
Thanks
Danny