Request Progress Information - VBA Code - VSTO, C# Programming Language, Microsoft Project Project Management Software RRS feed

  • Question

  • Hi,
    We made a Projects 2010 Ribbon Add-In in Visual Studio 2010, that Customizes the Project Ribbon.
    We Included several Buttons etc.. that Executes VBA within Projects 2010.

    Now the problem that we are sitting with is that some Projects 2010 VBA methods is not Accessible within Visual Studio.. or the Methods does not get Exposed in the “Microsoft.Office.Interop.MSProject.dll”.
    For Example we Recorded a Macro for the “Request Progress Information” and the Coding as as follows:

    MailSendProjectMail MessageType:="TeamStatus", Body:="Please update your status on the tasks listed below." & Chr$(10) & "Thank you.", PublishScope:=1

    We need to use the “MailSendProjectMail” method in the Add-In.. but the Method is hidden or Inaccessible from Within Visual Studio 2010 in the “Microsoft.Office.Interop.MSProject.dll”.
    Please see attached Pictures as well.

    Now is there any reason on why some of the Projects 2010 VBA Methods is Hidden and not Exposed??
    And maybe any suggestion on how to get around this, or how we can Access this Method from within our Projects 2010 Ribbon Add-In?

    I’ve done some research on this method and found that it is Hidden:
    MailSendProjectMail      Hidden

    Also see my Question on Experts-Exchange:

    Tuesday, November 2, 2010 6:48 AM

All replies

  • Hi Johan,

    MailSendProjectMail  is hidden because it is deprecated in Project 2010 -- it no longer works. Try using the Application.MailSend method instead.


    Jim Corbin [MSFT]
    Tuesday, November 2, 2010 1:49 PM