Name

xmlnamespaces.InstallManifest(Path, [InstallForAllUsers])

Synopsis

Installs an XML expansion pack for use with Smart documents.

Argument

Settings

Path

The name of the file containing the XML expansion pack manifest.

InstallForAllUsers

True registers the XML expansion pack for all users of the computer; False registers for only the current user. Default is False.

The user must have sufficient permissions to install an XML expansion pack. The following code installs one of the sample expansion packs from the Smart Document SDK for all users:

sdoc = "C:\Program Files\Microsoft Office 2003 Developer Resources" & _
  "\Microsoft Office 2003 Smart Document SDK\Samples\SimpleSample" & _
  "\SourceFiles\manifest.xml"
ThisWorkbook.XmlNamespaces.InstallManifest sdoc, True

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.