P
Porr via AccessMonster.com
Hello, thanks in advance for your help.
I have seven sub-queries that feed into one master query. With my current
process I manually alter the criteria in each of the sub-queries and then run
the master query. Once that query runs I copy and paste the results into an
Excel spreadsheet. I "loop" this process 10 times for different sets of
criteria.
I would like to automate this process, but am having trouble writing code to
set the criteria in the sub-queries. Could anyone please share some sample
code on how I can set the criteria with a VBA module? As of right now I
would be happy to hard code the criteria.
Thanks
I have seven sub-queries that feed into one master query. With my current
process I manually alter the criteria in each of the sub-queries and then run
the master query. Once that query runs I copy and paste the results into an
Excel spreadsheet. I "loop" this process 10 times for different sets of
criteria.
I would like to automate this process, but am having trouble writing code to
set the criteria in the sub-queries. Could anyone please share some sample
code on how I can set the criteria with a VBA module? As of right now I
would be happy to hard code the criteria.
Thanks