When you try to programmatically open a Microsoft Word document, the document opens as a read-only document and you cannot edit the document. When you add the code ReadOnly:=False the document still opens as a read-only document. When you open the same document using the Open command...
Open the Read-only Word document. Go to the ‘Review’ tab and under it look for the option that reads ‘Restrict Editing’. Click the tab. Then, in the new pane that opens, look for the ‘Stop protection’ button. It should be visible at the bottom of the pane. Hit the button. ...
Step 3: Choose "Protect Document" Within the Backstage view, select "Protect Document" from the left-hand menu. Protect Document button Step 4: Select "Mark as Final" In the "Protect Document" dropdown menu, choose "Mark as Final." This action will make the document read-only and discour...
Microsoft Word may open a document in read-only mode if the document owner has imposed editing restrictions. If you have the password for the file, you can easily remove the read-only restriction for that document by following the steps below. ...
To open a document for read only access, you specify false for this parameter.Notice that two of the Open methods create an instance of the WordprocessingDocument class based on a string as the first parameter. The first example in the sample code...
Open your document. More Information Word creates an owner file when you open a previously saved Word document. An owner file is temporary and holds the logon name of the person who opens the document. References For additional inf...
This example opens MyDoc.doc as a read-only document.Sub OpenDoc() Documents.Open FileName:="C:\MyFiles\MyDoc.doc", ReadOnly:=True End Sub This example opens Test.wp using the WordPerfect 6.x file converter.Sub OpenDoc2() Dim fmt As Variant fmt = Application.FileConverters("Word...
Step 1: Open the Word document. When the dialog that suggests you open the document as read-only opens, clickNo. Step 2: ClickFile>Save Asand choose a location to save the document. Step 3: When the Save As dialog opens, click theToolsbutton and selectGeneral Optionsfrom the drop-down...
Read-only. Creator Returns a 32-bit integer that indicates the application in which the specified object was created. CurrentRsid Returns a random number that Word assigns to changes in a document. Read-only. CustomDocumentProperties Returns a DocumentProperties collection that represents all the...
Read-only. (Inherited from _Document) Bookmarks Returns a Bookmarks collection that represents all the bookmarks in a document. (Inherited from _Document) Broadcast Returns a Broadcast object that represents a broadcast session, in which presenters can present Word documents to remote ...