VbaSuppData class

Office 2013 and later

Defines the VbaSuppData Class. The root element of VbaDataPart. When the object is serialized out as xml, its qualified name is wne:vbaSuppData.

Namespace:  DocumentFormat.OpenXml.Office.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.1.2.1 vbaSuppData

Target namespace: http://schemas.microsoft.com/office/word/2006/wordml

A CT_VbaSuppData element (section 2.1.4.4) that specifies supplemental Microsoft Visual Basic for Applications (VBA) data.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this element.

<xsd:element name="vbaSuppData" type="CT_VbaSuppData"/>

2.1.4.4 CT_VbaSuppData

Target namespace: http://schemas.microsoft.com/office/word/2006/wordml

Referenced by: vbaSuppData

A complex type that specifies document events and macro information for the VBA project.

Child Elements:

docEvents : A CT_DocEvents element (section 2.1.4.3) that specifies a container of document events that are active for this document.

mcds : A CT_Mcds element (section 2.1.4.2) that specifies a collection of macros stored in the VBA project.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this complex type.

<xsd:complexType name="CT_VbaSuppData">

<xsd:sequence>

<xsd:element name="docEvents" type="CT_DocEvents" minOccurs="0" maxOccurs="1"/>

<xsd:element name="mcds" type="CT_Mcds" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

2.1.3.1 vbaSuppData

Target namespace: http://schemas.microsoft.com/office/word/2006/wordml

A CT_VbaSuppData element (section 2.1.5.4) that specifies supplemental Visual Basic for Applications (VBA) data.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this element.

<xsd:element name="vbaSuppData" type="CT_VbaSuppData"/>

2.1.5.4 CT_VbaSuppData

Target namespace: http://schemas.microsoft.com/office/word/2006/wordml

Referenced by: vbaSuppData

A complex type that specifies document events and macro information for the VBA project.

Child Elements:

docEvents: A CT_DocEvents element (section 2.1.5.1) that specifies a container of document events that are active for this document.

mcds: A CT_Mcds element (section 2.1.5.3) that specifies a collection of macros stored in the VBA project.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment defines the contents of this complex type.

<xsd:complexType name="CT_VbaSuppData">

<xsd:sequence>

<xsd:element name="docEvents" type="CT_DocEvents" minOccurs="0" maxOccurs="1"/>

<xsd:element name="mcds" type="CT_Mcds" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: