Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO

Status
Not open for further replies.

jayjay60

Programmer
Joined
Jun 19, 2001
Messages
97
Location
FR
I would like to use ADO to keep database record in excel sheet. But I don't know how to do that. And the second step of my problem is of being able to compare value in the database to one given in a dialog box. In fact I'm building an automation which need to catch good value into a database according to a parameter given in my dialog box.

So if anybody could help me....

thanks

gerald
 
My advice is not to use DAO/ADO/ODBC for working with excel. The best way is to work with Excel.Application COM objects. John Fill
1c.bmp


ivfmd@mail.md
 
OK, but is it not more difficult to do? In fact I need to create a dialog box automation where the user give a date which will be compared to a database of COleDateTime, so if I could find the same I need to keep an interest rate which correspond to this date.
I know that I could use excel.application COM objects to open workbooks..., but I don't know how to read and find the value I need.

thanks for your help

Gerald
 
See into OLE/COM object viewer the excels interface IDispatch. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top