Page 1 of 1

Import Excel data to series

Posted: Fri Dec 02, 2005 7:45 am
by 9529132
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.

Posted: Fri Dec 02, 2005 7:05 pm
by Pep
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