VbaProjectReference

VbaProjectReference class

Represents the reference of VBA project.

Properties

NameTypeDescription
TypeintGets the type of this reference. The value of the property is VbaProjectReferenceType integer constant.
NameStringGets and sets the name of the reference.
LibidStringGets and sets the Libid of the reference.
TwiddledlibidStringGets and sets the twiddled Libid of the reference. Only for control reference.
ExtendedLibidStringGets and sets the extended Libid of the reference. Only for control reference.
RelativeLibidStringGets and sets the referenced VBA project’s identifier with an relative path. Only for project reference.

Methods

NameDescription
copy

VbaProjectReference.Type property

Gets the type of this reference. The value of the property is VbaProjectReferenceType integer constant.

Type: int

VbaProjectReference.Name property

Gets and sets the name of the reference.

Type: String

VbaProjectReference.Libid property

Gets and sets the Libid of the reference.

Type: String

VbaProjectReference.Twiddledlibid property

Gets and sets the twiddled Libid of the reference. Only for control reference.

Type: String

VbaProjectReference.ExtendedLibid property

Gets and sets the extended Libid of the reference. Only for control reference.

Type: String

VbaProjectReference.RelativeLibid property

Gets and sets the referenced VBA project’s identifier with an relative path. Only for project reference.

Type: String

copy(source)

ParameterTypeDescription
sourceVbaProjectReference