I need to automate Excel from C/C++ code. All the documentation I can find is for writing Excel AddIns. That's not really what I'm trying to do.
What I want to do is start Excel (the equivalent of
in VB) and then do stuff to it: create a workbook, populate it with data, etc.
Now I'd think that VB CREATEOBJECT would translate into a COM CoCreateInstance, but I can't find any CLSID, etc. to use.
Has anybody done something like this?
What I want to do is start Excel (the equivalent of
Code:
CREATEOBJECT("Excel.Application")
Now I'd think that VB CREATEOBJECT would translate into a COM CoCreateInstance, but I can't find any CLSID, etc. to use.
Has anybody done something like this?