Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a MS Project file as Read Only with a script

Status
Not open for further replies.

Barkerboy

Computer
Aug 21, 2002
1
Hi,

I am trying to open an MS project file with a VBS script. The MS project file is password protected and when you open it normally it prompts for the password or click ReadOnly.

I wan the script to open it read only.. I have tried.

oPJ.FileOpen Name:="[filename]", ReadOnly:=True

But this still doesn't work, it seems the FileOpen command just takes one argument that being the filename. Has anyone else achieved this?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor