OpenXMLDocuments.MergeDocuments Method

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.

Opens the specified XML document or form for merging, or for handling multiple XML documents or forms, within its associated application.

expression.MergeDocuments(bstrTemplateLocation As String, varDocuments, bstrDefaultSaveLocation As String)

Parameters

expression

An expression that returns an OpenXMLDocuments Control object.

bstrTemplateLocation

A string that contains the URL of the location of the XML document or form to open for merging.

varDocuments

An Object representing a collection of XML documents or forms, expressed as variants, to be merged. Implementation includes the ability to pass a single variant, a collection of variants, or null. The Windows SharePoint Services form library's combine.aspx page passes NULL, a single XML document or form URL, or a collection of XML document or form URLs..

bstrDefaultSaveLocation

A string that contains the URL that specifies the default location for saving for the resulting XML document or form that has been merged.

Return Value

true if the XML document or form template successfully opens; otherwise false.

See Also

Reference

OpenXMLDocuments Control

OpenXMLDocuments Members