>>I need to open a document in readonly. How should I modify the following code (wich is opening in edit mode).
>>
>>There must be a parameter to the Open Method but I don't know where to find it. VBA doesn't call this method the same way we do in VFP.
>>
>>goWordDoc = CreateObject( "Word.Application" )
>>goWordDoc.Documents.Open( "Data\Doc_Fr.doc" )
>>
>>TIA
>
>goWordDoc.Documents.Open( "Data\Doc_Fr.doc" , ,.T.)
>
>This opens document in readonly mode.
---
Thank you. I assume the parameters are in the same order as VBA? ReadOnly is the 3rd one.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only