Search the web
Sign In
New User? Sign Up
visualbasic6programming · VB help for all versions!
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Data collection from Excel / Text file Using VB 6   Message List  
Reply | Forward Message #31957 of 32051 |
RE: [Visual Basic 6 programming] Data collection from Excel / Text file Using VB 6

Hi ,
 
Thanks for your guidance.
 
Could you please provide me some sample codings to interact with text file or
excel file.
 
for example:
 
1) how to open an excel file / text file from VB
2) how can we read line by line from VB coding Etc.,
 
Thanks for your valuable time
 
Best Regards
Manikandan Raghavan


--- On Tue, 6/30/09, batoole <batoole@...> wrote:


From: batoole <batoole@...>
Subject: RE: [Visual Basic 6 programming] Data collection from Excel / Text file
Using VB 6
To: visualbasic6programming@yahoogroups.com
Date: Tuesday, June 30, 2009, 8:27 PM








Study the format of the text file and excel file to see how data is
delimited. Use notepad or word to do this. Typically the text file data
would be delimited with a tab or a space (hopefully a tab). In the excel
format, there is a lot of extra data included to tell excel how to set
things up. Look for a key or figure, or word that will tell you the
beginning of the "good data". Then read the data in a line at a time using
the split function to separate each line into an array of data for that
line. I would stay away from the access database unless this is a student
project.

Bart

_____

From: visualbasic6program ming@yahoogroups .com
[mailto:visualbasic6program ming@yahoogroups .com] On Behalf Of Raghavan
Manikandan
Sent: Tuesday, June 30, 2009 6:33 AM
To: visualbasic6program ming@yahoogroups .com
Subject: [Visual Basic 6 programming] Data collection from Excel / Text file
Using VB 6

I have given below the activities done in Excel VBA:-

1) I have a Main excel working file where I need to
download the data from various bank statements in a
specified format.

2) The respective bank file will be opened through main
working file by the user and downloads the data in a
specified format on daily basis.

The above mentioned operation was done in EXCEL VBA. As
successfully going on the project for some Target
assessmemnt, we are planning to implement the same with VB6
and Access database.

I would like to know, how can we open a bank statement
(text format & excel format) through VB6 coding and how
can we access from VB6 to text file/excel file to collect
the data.

Could anyone help me at the earliest?

Thanks & Regards
Manikandan Raghavan

[Non-text portions of this message have been removed]



















[Non-text portions of this message have been removed]




Wed Jul 1, 2009 11:37 am

geethanjali_...
Offline Offline
Send Email Send Email

Forward
Message #31957 of 32051 |
Expand Messages Author Sort by Date

I have given below the activities done in Excel VBA:- 1) I have a Main excel working file where I need to download the data from various bank statements in a ...
Raghavan Manikandan
geethanjali_...
Offline Send Email
Jun 30, 2009
10:32 am

Study the format of the text file and excel file to see how data is delimited. Use notepad or word to do this. Typically the text file data would be...
batoole
toole130
Offline Send Email
Jun 30, 2009
2:58 pm

Hi ,   Thanks for your guidance.   Could you please provide me some sample codings to interact with text file or excel file.   for example:   1) how to...
Raghavan Manikandan
geethanjali_...
Offline Send Email
Jul 1, 2009
11:38 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help