|
|
Hi, I'm working with a shared document and don't know how to guarantee that it is not opened as "read-only". Here is how I open the file. Suppose wdApp is a Word application, doc is a Word document, sharedPath is the shared path of doc, localPath is the local path of doc and filename is the name of the file.
If I'm in the workstation where the file is located, then using Set doc = wdApp.Documents.Open(sharedPath & filename), opens the file as read-only, while using Set doc = wdApp.Documents.Open(localPath & filename), opens the file normally.
If I'm in another workstation, using Set doc = wdApp.Documents.Open(sharedPath & filename), opens the file normally.
How do I guarantee that doc is opened normally?
-- Carlos
|
|
|