AddProjectRefrernce

VbaProjectReferenceCollection.AddProjectRefrernce method

Add a reference to an external VBA project.

public int AddProjectRefrernce(string name, string absoluteLibid, string relativeLibid)
Parameter Type Description
name String The name of reference.
absoluteLibid String The referenced VBA project’s identifier with an absolute path.
relativeLibid String The referenced VBA project’s identifier with an relative path.

See Also