Welcome to dbFreaks.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Reading Excel from Visual Basic 6.0

 
   Database Help (Home) -> Visual Basic -> ODBC RSS
Related Topics:
Microsoft Text Driver dropping some data during reading - I am using the Microsoft Text Driver (DSN-less mode) to read CSV files in my these files are comma but not quoted by they come from many so I cannot easily control their format. I have found that when..

Will pay for need help and occasional advise on using excel - Will pay for need help and advise on using excel database " sorry if this is off post ...will be my Thx in advance for your help and interest. i am an oil and gas and have a fair amount of

Change connect string for Excel Queries using an ODBC Driver - ODBC for MAS90 MAS200 In Excel we have an ODBC String with a physical (hard coded) path to the data. We have changed the servers. We do not want to recreate all of the queries. How can we edit the ODBC path inside of..

HOWTO: Clone SQL db ? - Hi all, I'm having a SQL Server database called X. For testing and training, I would like to make a copy of the entire DB to Y. This copy should include all data, indexes, views, etc. all my attempts to automate this..

ISA 2006 with My sql Connection - Hi, Please help I am facing problem with ISA 2006.It does not connect Mysql data base. It is giving connect to Mysql server on
Next:  Automate ODBC DSN Setup  
Author Message
Lina Manjarres

External


Since: Aug 23, 2005
Posts: 1



(Msg. 1) Posted: Tue Aug 23, 2005 10:43 am
Post subject: Reading Excel from Visual Basic 6.0
Archived from groups: microsoft>public>vb>database>odbc (more info?)

I need to know, how can I read an excel file using visual basic and then save
the data in another format.
I do not want to use databases at all.
Is it posible?

Thanks a lot, Lina

 >> Stay informed about: Reading Excel from Visual Basic 6.0 
Back to top
Login to vote
Michael Cole

External


Since: Feb 22, 2005
Posts: 4



(Msg. 2) Posted: Wed Aug 24, 2005 10:26 am
Post subject: Re: Reading Excel from Visual Basic 6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Lina Manjarres wrote:
> I need to know, how can I read an excel file using visual basic and
> then save the data in another format.
> I do not want to use databases at all.
> Is it posible?

http://www.smithvoice.com/vbfun.htm Database Tools & Tips - All ISAMs are
Relational

--
Regards,

Michael Cole

 >> Stay informed about: Reading Excel from Visual Basic 6.0 
Back to top
Login to vote
Neil

External


Since: Sep 19, 2005
Posts: 1



(Msg. 3) Posted: Mon Sep 19, 2005 6:27 pm
Post subject: Re: Reading Excel from Visual Basic 6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dim ExcelAppX As Excel.Application
Dim ExcelBookX As Excel.Workbook
Dim ExcelSheetX As Excel.Worksheet
Dim ExcelQueryX As Excel.QueryTable

Set ExcelAppX = CreateObject("Excel.Application")
Set ExcelBookX = ExcelAppX.Workbooks.open("Your Excel file path and name")
Set ExcelSheetX = ExcelBookX.Worksheets("sheet1")
 >> Stay informed about: Reading Excel from Visual Basic 6.0 
Back to top
Login to vote
Michael Cole

External


Since: Feb 22, 2005
Posts: 4



(Msg. 4) Posted: Tue Sep 20, 2005 3:49 pm
Post subject: Re: Reading Excel from Visual Basic 6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Neil wrote:
> Dim ExcelAppX As Excel.Application
> Dim ExcelBookX As Excel.Workbook
> Dim ExcelSheetX As Excel.Worksheet
> Dim ExcelQueryX As Excel.QueryTable
>
> Set ExcelAppX = CreateObject("Excel.Application")
> Set ExcelBookX = ExcelAppX.Workbooks.open("Your Excel file path
> and name") Set ExcelSheetX = ExcelBookX.Worksheets("sheet1")

Automation in this case would be ugly and unnessesary, IMO.

--
Regards,

Michael Cole
 >> Stay informed about: Reading Excel from Visual Basic 6.0 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> Visual Basic -> ODBC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]