OpenDocument
Loads a previously saved document file and continues working on it. The newly opened document becomes the ActiveDocument. This method is a shorter form of Documents.OpenDocument.
Signature
OpenDocument(in i_strFileName:String) -> Document |
Parameters
Name | Type | Description |
---|---|---|
i_strFileName | String | The path of the document to open. |
Errors
Error code | Description |
---|---|
1000 | The application object is no longer valid. |
1001 | Invalid address for the return parameter was specified. |