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 Forums!
  • 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.

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

Export Access table to Excel without column headers

(OP)
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

RE: Export Access table to Excel without column headers

Would a CSV file suit, it can be opened by Excel?

RE: Export Access table to Excel without column headers

(OP)
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 :)

RE: Export Access table to Excel without column headers

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.

RE: Export Access table to Excel without column headers

Why can't you use

CODE

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "query Name", "Filename",False

RE: Export Access table to Excel without column headers

(OP)
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