none
Use MS Project 2010 Add-in in Project 2007 RRS feed

  • Question

  • Hi,

    I have developed one custom MS Project 2010 Add-in using VS 2010. Now I would like to use the same add-in in MS Project 2007.

    Does MS Project 2007 support the Project 2010 add-in? if yes, Please share how to do this.

    Thanks in advance..

    Ram

    Wednesday, December 5, 2012 7:10 AM

Answers

  • Hi Ram,

    If you have cretaed a VSTO add in with MS project 2010 template, You may need to rebuild the add in for Project 2007. Please see abstract from below:
    You can now create an add-in that targets Office 2010, and the add-in will also run in Office 2007. The one caveat is this: when the add-in is loaded in Office 2007, it can use only those types/members that are available in Office 2007. You can achieve this by using theApplication.Version property, and writing conditional code that uses an Office 2010-specific type/member only if the add-in is loaded in Office 2010. If the add-in is loaded in Office 2007, your code can do something else.
    http://blogs.msdn.com/b/vsto/archive/2010/06/04/creating-an-add-in-for-office-2007-and-office-2010-that-quot-lights-up-quot-on-office-2010-mclean-schofield.aspx

    HTH.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Thursday, December 13, 2012 5:23 AM

All replies

  • I think you need a different add-in version for each version of Project.

    Rod Gill

    The one and only Project VBA Book

    Rod Gill Project Management

    Wednesday, December 5, 2012 7:57 AM
    Moderator
  • Hi Ram,

    If you have cretaed a VSTO add in with MS project 2010 template, You may need to rebuild the add in for Project 2007. Please see abstract from below:
    You can now create an add-in that targets Office 2010, and the add-in will also run in Office 2007. The one caveat is this: when the add-in is loaded in Office 2007, it can use only those types/members that are available in Office 2007. You can achieve this by using theApplication.Version property, and writing conditional code that uses an Office 2010-specific type/member only if the add-in is loaded in Office 2010. If the add-in is loaded in Office 2007, your code can do something else.
    http://blogs.msdn.com/b/vsto/archive/2010/06/04/creating-an-add-in-for-office-2007-and-office-2010-that-quot-lights-up-quot-on-office-2010-mclean-schofield.aspx

    HTH.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Thursday, December 13, 2012 5:23 AM