## VbaProjectReferenceCollection::AddProjectReferernce(const U16String\&, const U16String\&, const U16String\&) method


Adds a reference to an external VBA project.

```cpp
int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddProjectReferernce(const U16String &name, const U16String &absoluteLibid, const U16String &relativeLibid)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const U16String\& | The name of reference. |
| absoluteLibid | const U16String\& | The referenced VBA project's identifier with an absolute path. |
| relativeLibid | const U16String\& | The referenced VBA project's identifier with an relative path. |

## ReturnValue



## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [VbaProjectReferenceCollection](../)
* Namespace [Aspose::Cells::Vba](../../)
* Library [Aspose.Cells for C++](../../../)
## VbaProjectReferenceCollection::AddProjectReferernce(const char16_t*, const char16_t*, const char16_t*) method


Adds a reference to an external VBA project.

```cpp
int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddProjectReferernce(const char16_t *name, const char16_t *absoluteLibid, const char16_t *relativeLibid)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const char16_t* | The name of reference. |
| absoluteLibid | const char16_t* | The referenced VBA project's identifier with an absolute path. |
| relativeLibid | const char16_t* | The referenced VBA project's identifier with an relative path. |

## ReturnValue



## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [VbaProjectReferenceCollection](../)
* Namespace [Aspose::Cells::Vba](../../)
* Library [Aspose.Cells for C++](../../../)
