Crosstab report

D

davethewelder

Hi, is it possible to export to excel a crosstab report in order the
resultant file is in the crosstab format e.g with row and column headings
intact.
This would make my task so much easier.

Davie
 
K

Ken Sheridan

Cut out the middleman and export the crosstab query on which the report is
based using code along these lines:

DoCmd.TransferSpreadsheet _
TransferType:=acExport, _
Tablename:="YourQuery", _
Filename:="F:\SomeFolder\SomeSubfolder\SomeWorkbook.xls"

Ken Sheridan
Stafford, England
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top