Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Export Access table to Excel without column headers

shanef1981 (MIS) (OP)
21 Apr 08 5:43
Hey Folks!

How would I achieve the above?

Everything I have tried so far has yielded no result.

All I want to do is to have access determine a filename to save as (from a form) and export a table to that filename WITHOUT the column headers.

Any help would be great smile

Thanks
Remou (TechnicalUser)
21 Apr 08 6:07
Would a CSV file suit, it can be opened by Excel?
shanef1981 (MIS) (OP)
21 Apr 08 7:32
I would prefer not to, as it ends up with a customer and they specified Excel.

I'm trying to remove any manual intervention from the process, to eliminate any chance of human error.

Cheers :)
Remou (TechnicalUser)
21 Apr 08 7:42
It seems to me that you will need to use a little automation. You can OutputTo CSV and openn and save as XLS, or you can export xls and use automation to delete the first row. I do not think you can use TransferSpreadsheet without a header row.
MikeC14081972 (Programmer)
21 Apr 08 14:55
Why can't you use

CODE

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "query Name", "Filename",False
shanef1981 (MIS) (OP)
21 Apr 08 15:03
it doesn't work, it still places the column header in the file...

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close