Office 对象介绍
l Excel Workbook 对象:
Ø XmlMaps
Ø XmlNamespaces
Ø SaveAsXMLData
Ø XmlImport and XmlImportXml
Ø AfterXmlExport, AfterXmlImport, BeforeXmlExport, BeforeXmlImport

| The additions to the Excel object model are more extensive than the Word object model. Some of the more useful methods and properties are listed here.
| The Excel Workbook Object
| XmlMaps - A property that returns the XmlMaps collection.
| XmlNamespaces - A property that returns the XmlNamespaces collection
| SaveAsXMLData – This method that mimics the menu option File | SaveAs
| XmlImport and XmlImportXml – Methods that import xml from file and from string respectively. In the lab, you use the XmlImportXml Web Services XML directly.
| AfterXmlExport, AfterXmlImport, BeforeXmlExport, BeforeXmlImport – These events occur, as the names imply, before and after each Import and Export actions. They return most critically the successes, errors, and/or failures in the form of enumerations for each action.