S
Simon C
I need to run a query about 40 times (with different
criteria) and export the results to an excel workbook.
About half of the criteria I'm using will result in the
query returning no records and I dont want these to
produce useless excel files cluttering up my disk space.
How can I use VBA to tell how many records a query returns
or when a query returns no records at all?
Thanks in advance
Simon
criteria) and export the results to an excel workbook.
About half of the criteria I'm using will result in the
query returning no records and I dont want these to
produce useless excel files cluttering up my disk space.
How can I use VBA to tell how many records a query returns
or when a query returns no records at all?
Thanks in advance
Simon