H
HemiltonChen
Hi,
I am developing a COM Add-in by Working with the IDTExtensibility2
Event
Procedures, and find that from
MSDN(http://msdn2.microsoft.com/en-us/library/aa189748(office.
10).aspx) there
are 3 ways to load the host application:
a),from the user interface (1).
b),by embedding a document created in the host application in another
application (2),
c), or through Automation (3).
My question is how to start an Office application(PPT, Excel, Word,
etc.)
through Automation?
Here is an approach that i have found by now:
1), Insert Chart via PPT 2007 or Word 2007
In this case, the Excel 2007 will be loaded in Automation mode
I am developing a COM Add-in by Working with the IDTExtensibility2
Event
Procedures, and find that from
MSDN(http://msdn2.microsoft.com/en-us/library/aa189748(office.
10).aspx) there
are 3 ways to load the host application:
a),from the user interface (1).
b),by embedding a document created in the host application in another
application (2),
c), or through Automation (3).
My question is how to start an Office application(PPT, Excel, Word,
etc.)
through Automation?
Here is an approach that i have found by now:
1), Insert Chart via PPT 2007 or Word 2007
In this case, the Excel 2007 will be loaded in Automation mode