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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening Word Read Only

Status
Not open for further replies.

Domino2

Technical User
Jun 8, 2008
475
GB
I was opening up Word documenets with:

oApp.Documents.Open Filename:=LWordDoc, ReadOnly:=True

But now using URL's

Application.FollowHyperlink strFile

Problem is the Word documents being opened are not protected being read only. Is there any way round it?? Thanks

 
One possiblity is to change the security property on the directory that the document is located in. User 1 could be given read, write and modify access, and User 2 could be given just read access. Then when User 2 is presented with the word document, it will be in read only mode.
 
Many thanks. All the documents are in one directory. Can I set the security property levels by code?. Don't know much about folder securities. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top