About
Pricing
Community
Teams
Start Free Trial
Log in
baabaa_nl
asked on
3/12/2012
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.
Microsoft Excel
Microsoft Access
Visual Basic.NET
7
2
Last Comment
Nasir Razzaq
8/22/2022 - Mon
Jeffrey Coachman
3/12/2012
<I do not want to used the dataset. because the database file is so huge.>
Can you clearly explain what you mean by this?
Do you want each table to be it's own sheet?
baabaa_nl
3/13/2012
ASKER
hi boag2000,
yes thats right, i need each table to be in its own sheet
ASKER CERTIFIED SOLUTION
Jeffrey Coachman
3/13/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
baabaa_nl
3/13/2012
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.
Your help has saved me hundreds of hours of internet surfing.
fblack61
SOLUTION
Nasir Razzaq
3/13/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
baabaa_nl
3/14/2012
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.
Nasir Razzaq
3/14/2012
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?