Hello,
I am trying to export a table data to excel. Here is the command that I am using:
DoCmd.OutputTo acOutputTable, "table2", acFormatXLS
Data is exported correctly. However, I do not want the field names in the table in access to be exported to excel. Does anyone know how to export the data is a table and not the table filed names. Your help will be appreciated.
Table example
-------------
Field1 Field2 Field 3
Date updated: 4/6/2001
Title: My Title
H1 H2 H3
Name1 1 2
Name 2 3 7
After I export, I get a file with Field1, Field2, Field3 at the top in the excel spreadsheet, I want to exclude the table field names. The excel file should contain only the following:
Date updated: 4/6/2001
Title: My Title
H1 H2 H3
Name1 1 2
Name 2 3 7
Any help will be highly appreciated.
Thanks
I am trying to export a table data to excel. Here is the command that I am using:
DoCmd.OutputTo acOutputTable, "table2", acFormatXLS
Data is exported correctly. However, I do not want the field names in the table in access to be exported to excel. Does anyone know how to export the data is a table and not the table filed names. Your help will be appreciated.
Table example
-------------
Field1 Field2 Field 3
Date updated: 4/6/2001
Title: My Title
H1 H2 H3
Name1 1 2
Name 2 3 7
After I export, I get a file with Field1, Field2, Field3 at the top in the excel spreadsheet, I want to exclude the table field names. The excel file should contain only the following:
Date updated: 4/6/2001
Title: My Title
H1 H2 H3
Name1 1 2
Name 2 3 7
Any help will be highly appreciated.
Thanks