?
Solved

REading Excel

Posted on 2004-09-14
10
Medium Priority
?
171 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 1000 total points
ID: 12056851
0
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 1000 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
Independent Software Vendors: 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

Technology Partners: 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!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

800 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