Error message when you try to access tasks programmatically in Project 2007: "Run-time error '438'"

This article has been archived. It is offered "as is" and will no longer be updated.
When you try to run a Microsoft Visual Basic for Applications (VBA) macro to access each Task object in the ActiveProject object in Microsoft Office Project 2007, you receive the following error message:
Run-time error '438': Object doesn't support this property or method.

How to obtain the hotfix

This issue is fixed in the Project 2007 Hotfix Package that is dated June 17, 2007. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
938889 Description of the Project 2007 hotfix package: June 17, 2007
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Article ID: 939162 - Last Review: 01/15/2015 17:17:02 - Revision: 3.0

Microsoft Office Project Professional 2007, Microsoft Office Project Standard 2007, Microsoft Office Project Server 2007

  • kbnosurvey kbarchive kboffice2007postrtmfix kbhotfixrollup kbqfe kbbug kbfix KB939162