Import Excel data to series

TeeChart for ActiveX, COM and ASP
Post Reply
David
Advanced
Posts: 203
Joined: Tue Nov 08, 2005 5:00 am

Import Excel data to series

Post by David » Fri Dec 02, 2005 7:45 am

Hi, there,

It seems saving data in Excel format is not difficult with TeeChart. However, is there any way to import data directly and easily from an Excel file to series? This question may not fall in TeeChart category, :P but I do appreciate any help from you. C++ demo code is even more helpful.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Dec 02, 2005 7:05 pm

Hi David,

I'm afraid the teeChart Pro v7 does not have an inbuilt facility to directly import data from Excel worksheets. However, you should, with relative ease, be able to acheive what you need by connecting TeeChart and excel together via ADO. For details of how to use ADO with Excel please see:
http://support.microsoft.com/default.as ... US;q257819
For details of how to use TeeChart with ADO please see:
C:\Program Files\TeeChart Pro v7 ActiveX Control\Examples\Visual Basic\Visual Basic 5 & 6\ADO Databases

Post Reply