MSProject 03: mpp opened by VBA automation in Access opens read-only
Posted on 2010-09-17
I have a Project mpp in a folder on a local drive. For years this file (which gets replaced frequently by a new file with the same name) has opened normally using vba/automation in MSAccess. The file has now begun to open read-only when opened in this manner:
Set objMSProj = CreateObject("MSProject.Application")
The file is not marked read-only in Windows properties. The issue is that my process includes a save operation, and now a Save As prompt is appearing, which is a problem because the process runs unattended in the middle of the night.
Any suggestions would be appreciated.