VbaProjectReferenceCollection.AddProjectRefrernce

VbaProjectReferenceCollection.AddProjectRefrernce method

Add a reference to an external VBA project.

public int AddProjectRefrernce(string name, string absoluteLibid, string relativeLibid)
ParameterTypeDescription
nameStringThe name of reference.
absoluteLibidStringThe referenced VBA project’s identifier with an absolute path.
relativeLibidStringThe referenced VBA project’s identifier with an relative path.

See Also