View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] HemiltonChen@hotmail.com is offline
external usenet poster
 
Posts: 1
Default How to start Office application in Automation mode via Office itself?

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/lib...a189748(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