Excel output: Vertical instead of horizontal

M

millardgroups

I have a query that returns a single row of summary data. I need to
export it to Excel when a user clicks a button. When it exports, I need
the output to run vertically rather than horizontally.

That is, instead of:
Header1 | Header2 | Header3 | Header4 | Header5 ... etc
Result1 | Result 2 | Result3 | Result4 | Result5 ... etc

I need:
Header1 | Result1
Header2 | Result2
Header3 | Result3
Header4 | Result4
Header5 | Result5
etc...

Can you suggest the best way to do this?

Thanks!

Scott
 
G

Guest

Create a Crosstab Query that transforms the table data to the format you need
and export the query using TransferSpreadsheet.
 

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