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


Adds a reference to an external VBA project.


>Deprecated
>
>Use VbaProjectReferenceCollection.AddProjectReferernce() method instead. 
```cpp
int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddProjectRefrernce(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


## Remarks



NOTE: This method is now obsolete. Instead, please use [VbaProjectReferenceCollection.AddProjectReferernce()](../addprojectreferernce/) method. This method will be removed 12 months later since July 2026. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

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


Adds a reference to an external VBA project.


>Deprecated
>
>Use VbaProjectReferenceCollection.AddProjectReferernce() method instead. 
```cpp
int32_t Aspose::Cells::Vba::VbaProjectReferenceCollection::AddProjectRefrernce(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


## Remarks



NOTE: This method is now obsolete. Instead, please use [VbaProjectReferenceCollection.AddProjectReferernce()](../addprojectreferernce/) method. This method will be removed 12 months later since July 2026. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

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