VbaProjectReference

VbaProjectReference class

Represents the reference of VBA project.

class VbaProjectReference;

Properties

PropertyTypeDescription
typeVbaProjectReferenceTypeReadonly. Gets the type of this reference.
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.
extendedLibidstringGets and sets the extended Libid of the reference.
relativeLibidstringGets and sets the referenced VBA project’s identifier with an relative path.

Methods

MethodDescription
copy(VbaProjectReference)

type

Readonly. Gets the type of this reference.

type : VbaProjectReferenceType;

name

Gets and sets the name of the reference.

name : string;

libid

Gets and sets the Libid of the reference.

libid : string;

twiddledlibid

Gets and sets the twiddled Libid of the reference.

twiddledlibid : string;

Remarks

Only for control reference.

extendedLibid

Gets and sets the extended Libid of the reference.

extendedLibid : string;

Remarks

Only for control reference.

relativeLibid

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

relativeLibid : string;

Remarks

Only for project reference.

copy(VbaProjectReference)

copy(source: VbaProjectReference) : void;

Parameters:

ParameterTypeDescription
sourceVbaProjectReference