automationactivexobject-model

How to use the Automation object model of Microsoft Office packages (Word, Excel, etc.) in "plain" COM/ActiveX


I finally found the object model documentation for Microsoft Office.

However it talks about interop assemblies and stuff that sounds like .NET. I don't use .NET directly, and I don't really want to learn much about it. Is there a way to just use plain COM/ActiveX classes/interfaces to automate MS Word/Excel?


Solution

  • Here's a KB article that can help you get started: http://support.microsoft.com/kb/216686/

    ...and this one: http://support.microsoft.com/kb/307473/EN-US/