|
ED
|
avaliable
|
RT
|
avaliable
|
This method returns true if a selected datatype can be deleted and false if it can't be deleted.
Sub CanDeleteTypes() 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 'Try if this datatype can be deleted Debug.Print "Can this type be deleted = " & zVarTypes.CanDeleteType("INT") End Sub