AddProjectRefrernce
VbaProjectReferenceCollection.AddProjectRefrernce method
添加对外部 VBA 项目的引用。
public int AddProjectRefrernce(string name, string absoluteLibid, string relativeLibid)
| 范围 | 类型 | 描述 |
|---|---|---|
| name | String | 参考名称。 |
| absoluteLibid | String | 具有绝对路径的引用 VBA 项目标识符。 |
| relativeLibid | String | 具有相对路径的引用 VBA 项目的标识符。 |