add_project_refrernce method

add_project_refrernce(self, name, absolute_libid, relative_libid)

Adds a reference to an external VBA project.

Returns


def add_project_refrernce(self, name, absolute_libid, relative_libid):
    ...
ParameterTypeDescription
nameSystem.StringThe name of reference.
absolute_libidSystem.StringThe referenced VBA project’s identifier with an absolute path.
relative_libidSystem.StringThe referenced VBA project’s identifier with an relative path.

Remarks

NOTE: This method is now obsolete. Instead, please use VbaProjectReferenceCollection.AddProjectReferernce() method. This method will be removed 12 months later since July 2026. Aspose apologizes for any inconvenience you may have experienced.

See Also