Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

OpenDocuments.EditDocument3 Method

Published: May 2010

Opens the specified document for editing with its associated application or with the specified editor based on the specified window object, and specifies whether to use a local copy.

expression.EditDocument2(pdisp, bstrDocumentLocation, fUseLocalCopy, varProgID)


An expression that returns an OpenDocuments Control object.


An Object that represents the window from which the EditDocument3 method is being activated.


A string that contains the URL of the document to open for editing.


true to use a local copy; otherwise false.


An optional string that contains the ProgID of the application with which to edit the document. If this argument is omitted, the default editor for the document is used.

true if the document was successfully opened; otherwise false.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.