VbaProjectReferenceCollection.AddProjectReferernce

VbaProjectReferenceCollection.AddProjectReferernce method

Adds a reference to an external VBA project.

public int AddProjectReferernce(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