Hi,
I have a filtered query (filter a table between 2 dates) and I would like to export this query to an Excel file.
Using this code (because I would like to format some cells) return an error message: "Rut-time error 3061 : Too few parameters. Expected 2."
I tried to export the query to Excel without filters and worked fine.
How could I change the code to accept the filtered query?
Thanks.
I have a filtered query (filter a table between 2 dates) and I would like to export this query to an Excel file.
Using this code (because I would like to format some cells) return an error message: "Rut-time error 3061 : Too few parameters. Expected 2."
I tried to export the query to Excel without filters and worked fine.
How could I change the code to accept the filtered query?
Thanks.