|
ED
|
avaliable
|
RT
|
not used
|
With this method a structure datatype can be created.
Sub CreateComplexType() Dim zVarTypes As VarTypes 'Object from type VarTypes Dim zVarType As VarType 'Child object from type VarTypes 'Fill the objects Set zVarTypes = MyWorkspace.ActiveDocument.VarTypes 'Create a structure datatype called "Structure_1" Set zVarType = zVarTypes.CreateComplexType("Structure_1") End Sub