Microsoft KB Archive/329735

= You receive a &quot;Runtime 1004 compile&quot; error message when you use VBA to open a password protected file =

Article ID: 329735

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft Project 2002 Standard Edition
 * Microsoft Project 2002 Professional Edition

-



This article was previously published under Q329735



SYMPTOMS
When you try to open a Microsoft Project plan file that is password protected by using Microsoft Visual Basic for Applications (VBA) code, you receive a &quot;Runtime 1004 compile&quot; error.



RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to systems that are experiencing this specific problem.

To resolve this problem immediately, download the fix by clicking the download link later in this article or contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time    Size       File name --  20-Jan-2003  23:20   8,862,208  Project10.msp After the hotfix is installed, the following files will have the listed attributes or later: 

Date        Time   Version        Size        File name --  22-May-2002  22:37  10.0.4109.0     7,445,320  Owc10.dll 18-Oct-2002 03:23  10.0.2002.1017    909,824  Pj10od10.dll 09-Oct-2002 19:31  10.0.2002.1009  4,108,800  Pjoledb.dll 18-Jan-2003 01:21  10.0.2003.117  10,101,248  Winproj.exe



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: FIX

Keywords: kbbug kbqfe kbvba kbhotfixserver KB329735

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.