MS Project 2007 - How to open an MS Project file in silent mode. RRS feed

  • Question

  • Hello,

    Does anyone know how to open an MS Project in silent mode from .Net?

    I'm trying to programatically open an MS Project file using the project.interop, it does work except when the project file to open is from an older version. I'm trying be able to open the file and ignore the error.

    Any ideas?

    Thank you in advance.

    Monday, September 20, 2010 5:47 PM


  • HI,


    Under Tools, Options and the security tab you need to select allow opening of legacy files. By default older versions are not allowed to be opened.

    If after this you still get an alert, but the file does open, try Application.DisplayAlerts=False

    You need to remember to reset to True at the end of your macro.

    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management
    • Marked as answer by graciaj Tuesday, September 21, 2010 2:04 PM
    Tuesday, September 21, 2010 5:20 AM