Link to home
Start Free TrialLog in
Avatar of Alan Huseyin Kayahan
Alan Huseyin KayahanFlag for Sweden

asked on

managing excel files with c

how can i write datas into cols and rows of  an excel file with c codes
ASKER CERTIFIED SOLUTION
Avatar of phoffric
phoffric

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Excel, like all Office apps, exposes a Document Object Model as a COM interface, which can be manipulated from C and C++. The interface allows you to control all aspects of Excel, including the creation and manipulation of Excel spreadsheets. This is by no means a simple topic but the following links should point you in the right directions.

http://support.microsoft.com/kb/196776/
http://support.microsoft.com/kb/216686/

Interfacing with COM in C rather than C++ is a little tricky because COM objects are designed around the ABI (Application Binary Interface) of C++; however, COM is designed to be language agnostic, so it is possible.

This link is specific to interfacing using C rather than C++

http://support.microsoft.com/kb/181473/
Avatar of Alan Huseyin Kayahan

ASKER

thx