Export to Excel without colum headings

D

Dennis

I am exporting a table to excel, but when I do the first row in Excel is the
colum headings from the table. I just want the data not the colum headings.
Is there a way to do this?
 
K

Ken Snell [MVP]

Not by using File | Export or by using TransferSpreadsheet.

You'd need to use VBA code to open the spreadsheet file, and to open a
recordset based on your table, and write just the data to the spreadsheet.

Or use TransferSpreadsheet to export the data, and then use VBA code to open
the spreadsheet file and delete that first row.

Or use TransferText to export the data to a text file (.csv --
comma-delimited file) and use the setting for No Header value in the Headers
argument, and then open the file in EXCEL.
 

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