JessicaGomo
Registered User.
- Local time
- Today, 15:17
- Joined
- Feb 26, 2015
- Messages
- 21
I am running monthly reports, that also include year to date metrics. The numeric month and number of months to include for year to date, is all setup through vba code and a user form. When I pass the individual numeric month (ex. 1) in the function, the query works as expected. When I try to pass multiple months (ex. 1,2,3) I get blank results. If I manually remove the function as the "criteria" and put "In(1,2,3)" as the criteria, it works fine. I am trying to setup automation for this report so would like to see if I can find a way to pass multiple values in the function. I have tried both numeric and string data types and still with no luck. I appreciate any suggestions!