Export an Access Table to Excel File Format 
Author Message
 Export an Access Table to Excel File Format

Exporting a table in an MDB file from within VB to a DBF file format can be
easily accomplished by using SQL: SELECT ...INTO...IN statement. In the
'IN' I'll simply include the external file name and the ISAM string needed
as defined in the Installable ISAM section of the VB.INI file (i.e. dBase
IV=C:\WINDOWS\SYSTEM\XBS200.DLL)

I would like to be able to export a table in an MDB file to Microsoft
Excel. I was under the impression that we can use the same idea by pointing
to a valid DLL (as above) to export to Excel.

1. Does a DLL file exists (such as XBS200.DLL for DBF format) to export
data from Access to Excel ? I couldn't find anything in VB or any
documentation that points to this direction.

2. If not, is there an easy way to directly transfer data from MS Access
format to Excel format ?

Of course, one easy way would be to transfer the table to DBF and then let
Excel read directly the DBF file. However, this is not exactly the solution
I am looking for.

I would appreciate any help on the above.

Naim Bentahar.



Tue, 27 Jul 1999 03:00:00 GMT  
 Export an Access Table to Excel File Format

Quote:

> 2. If not, is there an easy way to directly transfer data from MS Access
> format to Excel format ?

I not too up on VB yet so I don't know about your first question but I
have transferred data directly to Excel from Access.  From Access,
highlight the table or query containing the info you want to send to
Excel, then choose File, Save as/Export, then pick "To an external
file", and then choose Excel file as the type.

Hope this helps,

Ray Smith



Thu, 29 Jul 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Exporting Excel file to CSV formatted file.

2. Exporting to Excel 97 file format using version 6.0

3. Export Access tables to other formats

4. Export Access Table into Excel

5. Exporting Access-table to Excel-sheet

6. Exporting Access Table via DDE to Excel - Please Help

7. Export Access Table into Excel

8. Export access table to excel worksheet

9. Access Table Export to Excel (so close...)

10. Export Access Table into Excel

11. Crystal Enterprise Exports to Excel 5 format instead of Excel 7

12. exporting Access Table to EXCEL problem in VB6.0

 

 
Powered by phpBB® Forum Software