ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to start Office application in Automation mode via Office itself? (https://www.excelbanter.com/excel-programming/404843-how-start-office-application-automation-mode-via-office-itself.html)

[email protected]

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



All times are GMT +1. The time now is 10:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com