Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Aug 21, 2002
Messages
1
Location
GB
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

Back
Top