Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Oct 2003
    Location
    Toronto, Ontario, Canada
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Excel macro to read from MS Project (Excel 2002/sp3, Project 2003)

    I have a weekly update report on my project to compile from information in MS Access and MS Project. I would like to pull the information into MS Excel where I apply various filters and drop the results into Word. I have the Excel-Access part working, but have trouble with Excel-Project. I have been doing a Save As operation but would like to preserve the filtering columns. How can I open Project from Excel in VBA to get the data into specified cells?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Excel macro to read from MS Project (Excel 2002/sp3, Project 2003)

    I don't have MS Project, so I cannot test, but as far as I know, Project .mpp files actually use the Access database format. So hopefully you can use DAO or ADO to connect to the Project file, open a recordset and read its records, similar to the way you read data from an Access database.

  3. #3
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Excel macro to read from MS Project (Excel 2002/sp3, Project 2003)

    Hi,
    There are some examples here of reading MSProject data with ADO.
    HTH
    Regards,
    Rory

    Microsoft MVP - Excel

  4. #4
    Lounger
    Join Date
    Oct 2003
    Location
    Toronto, Ontario, Canada
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Excel macro to read from MS Project (Excel 2002/sp3, Project 2003)

    Thanks Rory, Hans. That did the trick.

    Stu <img src=/S/bullseye.gif border=0 alt=bullseye width=45 height=15>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •