Export query to Excel with formated heading

S

Song Su

When export from query to Excel, I'd like to turn some columns into heading
row on top of Excel sheets how to turn this:

LastName FirstName SID Section Instructor
Doe John 1234 0545 Su
Doe Jane 2345 0545 Su

into this?

Class Roster
Instructor: Su
Section: 0545

LastName FirstName SID
Doe John 1234
Doe Jane 2345
 
H

hennie

I think one way of achieving this would be to create a report in Access
where you would group under instructor with the students in the detail
section. From the report you can then use the analyze with Excel function
to export it Excel.

Other methods may be more complex or need some code to achieve the result.

Hope it helps.

Hennie
 
S

Song Su

Hi, Hennie:

I think you mean 'export to excel' which can only export detail band of
report, not header. I'd like to hear your 'other methods'. Or is it possible
to achieve this from Excel side (link to Access query) instead of Access
side?

Thanks

Song
 

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