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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VC++ program and Excel compatibility

Status
Not open for further replies.

Nights

Programmer
Jan 10, 2001
7
GB
I'd like to place some numeric datas recorded in my program
in an Excel Document. What should I look at to do so ?

A friend told me about COM, OLE or ActiveX controls. Is one of these useful ?

Thanx for your help.



Nights
 
You should automate Excel :)

You can use simple EXE-program, even console application for this goal. Of course you may implement you code in COM-object (or ActiveX).

The main object of the office - is Application object (_Application in office 2000). Then you should run Excel:
_Application::ActivateMicrosoftApp
and so on.
For help and main guideness you should see VBA for Excel:
Vbaxl9.chm (for 2000) or/and Vbaxl8.hlp (for 97)

With best regards,
ZakiMaksyutov
zaki-maksyutov@yandex.ru
wetellyou.com - Expert portal

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top