Solved

Export All Access Database Tables To Excel File

Posted on 2012-03-12
7
368 Views
Last Modified: 2012-08-14
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.
0
Comment
Question by:baabaa_nl
  • 3
  • 2
  • 2
7 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37712496
<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?
0
 

Author Comment

by:baabaa_nl
ID: 37713991
hi boag2000,

yes thats right, i need each table to be in its own sheet
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 250 total points
ID: 37714846
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:baabaa_nl
ID: 37717319
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.
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 250 total points
ID: 37717789
You can put that code in a module in access db and then call it from VB.NET

another approach shown here

http://bytes.com/topic/visual-basic-net/answers/336747-export-access-file-excel-vb-net
0
 

Author Comment

by:baabaa_nl
ID: 37719142
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.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37719572
You would need to do Interop for that. Use Application.Run method on the Access application object.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Add macros on Open 9 33
find a specific style and pass it to a access table 4 22
TT Master Button 18 22
Dlookup issue 4 16
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now