Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export Query That Includes "*" In QBE Field To Excel

Status
Not open for further replies.

dominicdunmow

Technical User
Jul 28, 2004
125
CA
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?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top