baabaa_nl
asked on
Export All Access Database Tables To Excel File
I need a vb.net code to export all the access database tables to an excel file.
I do not want to used the dataset. because the database file is so huge.
so it is possible to directly export access database tables and its data directly to excel file
Thanks in advance.
I do not want to used the dataset. because the database file is so huge.
so it is possible to directly export access database tables and its data directly to excel file
Thanks in advance.
ASKER
hi boag2000,
yes thats right, i need each table to be in its own sheet
yes thats right, i need each table to be in its own sheet
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well that was a VBA code. But i am using VB.Net.
Can you please give me the code that is equivalent to VB.net or a code that does the similar function.
Thanks In Advance.
Can you please give me the code that is equivalent to VB.net or a code that does the similar function.
Thanks In Advance.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you CodeCruiser, i will try the code from the page you sent me.
Can you please give me the code to call the module in access from vb.net.
Thanks in advance guys.
Can you please give me the code to call the module in access from vb.net.
Thanks in advance guys.
You would need to do Interop for that. Use Application.Run method on the Access application object.
Can you clearly explain what you mean by this?
Do you want each table to be it's own sheet?