Solved

REading Excel

Posted on 2004-09-14
10
170 Views
Last Modified: 2010-05-02
Hi have some records in Excel

I need to read them in VB

Whats the best VB control to store/process them

How to read them all at a time

Amit
0
Comment
Question by:Sys_Prog
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
10 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 12056838
Have you tried using ADO?
Read this example: http://forums.devshed.com/archive/t-38834
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 250 total points
ID: 12056851
0
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 250 total points
ID: 12058307
Sys_Prog,
    Here is a sample that may help too

http://www.vb-helper.com/howto_excel_to_access.html

Dang123
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Author Comment

by:Sys_Prog
ID: 12061520
I know about ADO

BUt I do not want to read it cell by cell


I want that the complete sheet is read at once into some structure [to reduce I/O cycles] and then process one cell at a time from that structurw

Amt
0
 
LVL 3

Expert Comment

by:4ceReconSniper
ID: 12062289
you convert the excel file into a database then the rest is easy
0
 
LVL 3

Expert Comment

by:4ceReconSniper
ID: 12062331
that is what i do
0
 
LVL 44

Expert Comment

by:bruintje
ID: 12072516
why don't you use the sample from sirbounty with ADO? you read it in a recordset in one go and work with the recordset throughout the code
0
 
LVL 10

Author Comment

by:Sys_Prog
ID: 12702990
Sorry for the dealy

I really could not visit the site for quite soem period

My extreme apologies for the same

Amit

0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

705 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