Exporting Data to Excel

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

I am exporting data to excel and would like to automatically name the ranges
in excel to correspond to field names in Access. Is there an easy way to do
this?
 
Exporting using Range is a process that can have difficulties. See this
article:

Using the Range Argument of TransferSpreadsheet when Exporting Data to an
EXCEL File (VBA)
http://www.accessmvp.com/KDSnell/EXCEL_Export.htm#ExpRange

The code examples on the above page will show you how to do the export. The
examples do not include the use of the undocumented Range argument (it would
be added as the last argument for TransferSpreadsheet).
 
Exporting using Range is a process that can have difficulties. See this
article:

Using the Range Argument of TransferSpreadsheet when Exporting Data to an
EXCEL File (VBA)
http://www.accessmvp.com/KDSnell/EXCEL_Export.htm#ExpRange

The code examples on the above page will show you how to do the export. The
examples do not include the use of the undocumented Range argument (it would
be added as the last argument for TransferSpreadsheet).
 

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

Similar Threads


Back
Top