Word Automation

DBL

Registered User.
Local time
Today, 06:32
Joined
Feb 20, 2002
Messages
659
I'm opening a word document and populating it using Bookmarks. If the case has been closed but someone views the Word document, it needs to open as ready only. How would I specify that the document opens read only? This is what I'm using to open the Word document:

Set objDoc = objWord.Documents.Open(CStr(RLlink))
 
According to the intellisence and the help file, the third arguement of the Documents.Open method is the ReadOnly arguement/parameter, so

Set objDoc = objWord.Documents.Open(CStr(RLlink),,true)

should probably do
 

Users who are viewing this thread

Back
Top Bottom