none
Bulk export from multiple ms project files RRS feed

  • Question

  • Hi all,

    I have a requirement to do the following:

    1. Iterate through a bunch (~200) Project 2010 files in a folder
    2. Read through each file
    3. Export Tasks (and a few custom fields) to a text file with the same name as the Project file.

    I understand that this needs to be done using Project automation and that it needs the software to be installed on Production. I'm ok with that. However all the samples I have found address export by running a macro from within a single file, not a bulk export scenario.

    Question:

    1. Are there any code samples out there that do atleast part of what I'm looking to do?
    2. Are there any third party tools which I can purchase and do this?
    3. Is anybody aware of Informatica connectors that can connect to a MS Project file?

    Thanks,

    Neel

    Wednesday, April 18, 2012 1:09 PM

All replies

  • Re questions 1 & 2:

    1) There is code out there, including from my book. Use the Dir VBA command to iterate through all .mpp files in a folder.

    2) FileSaveAs to a .csv file. Use a Map that can be moved to the Global.mpt file using the Organizer.

    Write the code in a project file and include in it all folder paths from which to search for .mpp files. Then Loop thru them and save as to .csv files. If .csv file format isn't suitable you can create your own text files from VBA.

    This should be enough clues for a VBA developer!


    Rod Gill

    The one and only Project VBA Book Rod Gill Project Management

    Thursday, April 19, 2012 9:23 AM
    Moderator