Please forgive me if I’m doing something wrong as this is my first posting, I am completely new to using forums for advice.
I am using the following code to export the result of a query to an excel sheet and would like to pass a parameter to the query “Query2”. If the query contains the...