This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Creates an XML document or form based on the specified template.
expression.CreateNewDocument(bstrTemplateLocation As String, bstrDefaultSaveLocation As String)
An expression that returns an OpenXMLDocuments Control object.
A string that contains the URL of the template from which the new XML document or form is created, or the programmatic identifier (progID) of the application to invoke when creating the new XML document or form.
A string that contains the URL that specifies a default location for saving the new XML document or form. UNC paths cannot be used.
true if the XML document or form creation succeeds; otherwise false.