One COM Add-in for all versions of Office (2000 and up)?

If I create a COM Add-in for Office XP, will it also work for Office 2000/2003 Or do I need to create a new Add-in for different versions of Office Is there any reason to use COM Add-in vs. traditional XLA or DOT file beside having one dll that works for both Excel and Word

Answer this question

One COM Add-in for all versions of Office (2000 and up)?

  • VenkatABC

    A com add-in for office must implement the IDTExtensibility2 interface. It will work in office 2000, XP, 2003 as long as the objects, properties and methods you use are compatible between all versions.



  • pjascol

    Basically, microsoft suggest that you build a version of your add-in for each version of office you want to use. There's a good article on this issue at http://blogs.msdn.com/omars/archive/2004/04/26/120047.aspx which might help you to find a solution.



  • chionhhm

    My add-in does implement the IDTExtensibility2 interface. What I am worried about is that in my project, I have to refernce Microsoft Office 11.0 Object, Microsoft Word 11.0 Object, and Microsoft Powerpoint 11.0 Object. Now if I deploy this add-in to a user that doesn't have Office XP, they won't have those reference. I could deploy the referenced dlls with my add-in but will that violate Microsoft licensing
  • One COM Add-in for all versions of Office (2000 and up)?