Launching Word Document as readonly
Posted on 2002-03-06
I want to launch a word document as readonly so the user can't update it. But I really don't want to mark the document file as readonly.
I can do this by using the word object, ie:
Sub LaunchDoc(byval DocName)
Dim oW as Word.Application
Set oW = new Word.Application
But for techinal reasons, I need to be able to launch this Doc by executing Word ie:
ret=Shell(WinWord & " " & DocName)
My problem is that there are no switches that will make word open the doc as readonly. Again, I prefer not to mark the Doc file as readonly.