I have a query that currently generates about 20,000 records.
When I tried to write code to output it to excel using
DoCmd.OutputTo acOutputQuery, "qryStockTurns4", acFormatXLS, , True
It comes up with the following error:
"Run time error '2306'
There are too many rows to output, based on...