dominicdunmow
Technical User
Hi there,
Using "DoCmd.TransferSpreadsheet acExport, 8" I'm trying to export a query to an excel template.
The query is based on 2 others. With regard to one of the queries, the field names are not static as they are the result of a crosstab query based on user inputs so to include all the fields I have to use the "*".
However the use of the asterisk does not seem compatible with the transferspreadsheet function.
Can anyone advise on how ot get round this please?
Using "DoCmd.TransferSpreadsheet acExport, 8" I'm trying to export a query to an excel template.
The query is based on 2 others. With regard to one of the queries, the field names are not static as they are the result of a crosstab query based on user inputs so to include all the fields I have to use the "*".
However the use of the asterisk does not seem compatible with the transferspreadsheet function.
Can anyone advise on how ot get round this please?